Easy Tutorial
❮ Dom Prop Node Lastchild Dom Prop Element Tagname ❯

XML DOM - DocumentType Object


DocumentType Object

Each document contains a DOCTYPE attribute, which can be either null or a DocumentType object.

The DocumentType object provides an interface for defining the entities of an XML document.

DocumentType Object Properties

Property Description
entities Returns a NamedNodeMap containing the entities declared in the DTD.
internalSubset Returns the internal DTD as a string.
name Returns the name of the DTD.
notations Returns a NamedNodeMap containing the notations declared in the DTD.
systemId Returns the system identifier for the external DTD.
❮ Dom Prop Node Lastchild Dom Prop Element Tagname ❯