DocTypeDecl is a named element and is a child of the XML parser. DocTypeDecl is written to the bit stream before the element that represents the body of the document during serialization. The following attributes can be specified within this element:
The example below is included in DTD example:
<!DOCTYPE test PUBLIC "//this/is/a/URI/test" "test.dtd" [ ... ... ]>