The Doctype Declaration


An XML document may contain a doctype declaration (DTD), which may include a DTD subset clause in square brackets.

  • The DTD is one way of associating the document with its schema (but is not used by W3C or Relax NG for this purpose)
  • The DTD subset is used to provide declarations additional to those in the schema
  • The DTD subset may be internal, external, or both

25 Next | First| Previous Digital Texts with XML and the TEI