The DocumentType interface contains methods and properties that apply to XML document's doctype.

The nodeType value is 10.

XML DocumentType interface methods and properties

Name Description
entities Property that returns entities declared DTD.
internalSubset Property that returns string of the internal DTD.
name Property that returns the name of the DTD.
notations Property that returns the notations declared in DTD.
systemid Property that returns the system identifier of the external DTD.