XML, DTD, XSD Validation Commands

www.altova.com Print this Topic Previous Page Up One Level Next page

Home >  Command Line Interface (CLI) >

XML, DTD, XSD Validation Commands

The XML validation commands can be used to validate the following types of document:

 

XML: Validates XML instance documents against a DTD (valxml-withdtd | xml) or an XML Schema 1.0/1.1  (valxml-withxsd | xsi).
DTD: Checks that a DTD is well-formed and contains no error (valdtd | dtd).
XSD: Validates a W3C XML Schema (XSD) document according to rules of the XML Schema specification (valxsd | xsd).

 

 

XML validation commands are described in detail in the sub-sections of this section:

 

 

valxml-withdtd | xml

Validates an XML instance document against a DTD.

valxml-withxsd | xsi

Validates an XML instance document against an XML Schema.

valdtd | dtd

Validates a DTD document.

valxsd | xsd

Validates a W3C XML Schema (XSD) document.

 

Note:XSLT, XQuery, JSON, and Avro documents can also be validated. These validation commands are described in their respective sections: XSLT Commands, XQuery Commands, JSON/Avro Commands.

 


© 2019 Altova GmbH