==Overview==
XML documents often rely on Document Type Definitions (DTDs).
While parsing a document with BaseX, entities can be resolved and the whole document can be checked for validity with respect to that particular DTD.
By default, the DTD is only used for entity resolution.