Revision [573]
This is an old revision of CommandXvalidate made by DavidLee on 2009-05-27 10:08:32.
Command xvalidate
Name
xvalidate validates an xml document against a schemaSynopsis
xvalidate [options] [file]Options
-xsd schema.xsd
Validates against a W3C schema file
-dtd schema.dtd
Validates against a XML DTD file
-rng schema.rng
Validates against an RNG schema file
Description
validates an xml document against a schema. Forcibly ignores any DTD schema specified in the DOCTYPE instruction.If no files are specified, then stdin is read.
If one file is specified it is used as XML input.
Return Value
Returns 0 (true) if validation is successful.Returns 1 (fail) if validation fails and prints any validation errors on stderr
CategoryCommands
CommandsInternal