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