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
If you had an import element in your A.xsd, right after opening the schema tag,
import
A.xsd
schema
then you could pass A.xsd to xmllint and it would work with:
xmllint
xmllint -schema A.xsd ab.xml