[xml] xmllint: Validating with schemaLocation instead of passing on cmd line




Hello all,

When one wants to validate an XML document against a specific schema, one can 
do:

xmllint --noout --schema schema.xsd document.xml

But how do I make xmllint validate/locate the Schema when it is specified in 
the XML document with 
http://www.w3.org/2001/XMLSchema-instance:schemaLocation?


Cheers,

                Frans

 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]