I am using xmllint to do some validations and I have an XML instance document which needs to validate against two schemas: one for the outer \"envelope\" (which includes an
You can create a wrapper schema and import both namespaces. AB.xsd:
Then:
xmllint --schema AB.xsd ab.xml Mary Bones ab.xml validates