Coding practices for DITA grammar files
This section collects all of the rules for creating modular DTD, RELAX NG, or XML Schema
grammar files to represent DITA document types, specializations, and constraints.
Recognized XML-document grammar mechanisms The DITA standard recognizes three XML-document grammar mechanisms by which conforming DITA vocabulary modules and document types can be constructed: document type declarations (DTDs), XML Schema declarations (XSDs), and RELAX NG grammars.
Normative versions of DITA grammar files The OASIS DITA Technical Committee uses the RELAX NG XML syntax for the normative versions of the XML grammar files that comprise the DITA release.
DTD coding requirements This section explains how to implement DTD based document-type shells, specializations, and constraints.
RELAX NG coding requirements This section explains how to implement RELAX NG based document-type shells, specializations, and constraints.
XML Schema coding requirements This section explains how to implement XML Schema (XSD) based document-type shells, specializations, and constraints.