serialization options ] [options] [file]
|-xsd schema.xsd||Validates against a single W3C schema files in no namespace|
|-xsd "URI schema.xsd [...]"||Validates against one or more W3C schema files in namespaces|
|-dtd schema.dtd||Validates against a XML DTD file|
|-rng schema.rng||Validates against an RNG schema file|
|-schematron schematron.xml||validates against a schematron description|
Forcibly ignores any DTD schema specified in the DOCTYPE instruction.
If the first form is used then the schema is used as the "no namespace" schema.
If the second form is used then one or more URI/schema pairs are used as namespace schemas for validation.
XSD validation uses the xsdvalidate command.
rngvalidate command. See that command for details on the options.
If no files are specified, then stdin is read.
If one file is specified it is used as XML input.
Returns 1 (fail) if validation fails and prints any validation errors on stderr