Name
DocumentType — the DTD of an XML document
Availability
DOM Level 1 XML
Inherits from/Overrides
Node → DocumentType
Properties
-
readonly
NamedNodeMap
entities
This NamedNodeMap is a list of Entity objects declared in the DTD and allows Entity objects to be queried by name. Note that XML parameter entities are not included. This NamedNodeMap is immutable -- its contents may not be altered.
-
readonly String internalSubset
[DOM Level 2] The internal subset of the DTD (i.e., the portion of the DTD that appears in the document itself rather than in an external file). The delimiting square brackets of the internal subset are not part of the returned value. If there is no internal subset, this property is
null
.-
readonly String name
The name of the document type. This is the identifier that immediately follows
<!DOCTYPE>
at the start of an XML document, and it is the same as the tag name of the document’s root element.-
readonly
NamedNodeMap
notations
A NamedNodeMap that contains Notation objects representing all notations declared in the DTD. It also allows Notation objects to be looked up by notation name. This NamedNodeMap is immutable -- its contents may not be altered.
-
readonly String publicId
[DOM Level 2] The public identifier of the external subset of the DTD, or
null
if none was specified.-
readonly String systemId
[DOM Level 2] The system identifier of the external subset of the DTD, or
null
if none was specified.
Description
This infrequently used interface represents ...
Get JavaScript: The Definitive Guide, Fourth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.