XML DOM - DocumentType Object

The DocumentType object can provide an interface for entities defined by XML.

DocumentType Object

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

The DocumentType object can provide an interface for entities defined by XML.

IE: Internet Explorer: F: Firefox: O: Opera: W3C: World Wide Web Consortium (Internet Standard)

Attributes of DocumentType Object

Attribute Description IE F O W3C
entities NamedNodeMap that can return entities declared in DTD 6 No 9 Yes
internalSubset Returns the internal DTD as a string No No No Yes
name Returns the name of the DTD 6 1 9 Yes
notations NamedNodeMap that can return symbols (notations) declared in DTD 6 No 9 Yes
systemId System identifier that can return an external DTD No 1 9 Yes