This document defines and provides examples of XML DTDs. It explains that a DTD defines the structure and elements of an XML document and can be used to validate XML data. It describes the syntax of DTDs and the different types (internal and external). Key points covered include that a DTD specifies elements, attributes, and entities; defines the root element; and element types include PCDATA for parsed character data and CDATA for non-parsed character data. Examples are provided of internal and external DTDs. The document concludes that using a DTD allows different groups to agree on a common standard for exchanging data and applications to validate received and internal data.