XML schema

A schema language (English schema definition language, and schema definition language or document type definition language ) is a language for the classification of XML documents and syntactic description with respect to their structure and content. A document type definition provides a view of the document type at a relatively high level of abstraction.

XML documents can be understood as string representations of a tree structure. A validating parser, thus building a well-formed XML document into a tree structure to and validated them using a machine for regular tree grammars.

The embedded in the XML specification document type definition (DTD) provides relatively few opportunities for validation and can only describe local tree grammars.

Another widely spread document type definition language is XML Schema. In contrast to DTDs can describe this single -type grammars.

With RELAX NG, it is possible to formulate any regular tree grammar, even those with ambiguous rules.

List of document type definition languages

  • XML Schema
  • RELAX NG
  • DSD
  • XML Data
  • DCD
  • DDML
  • SOX
  • Schematron
  • Examplotron
  • Assertion Grammars
244045
de