Name
Notation — a notation in an XML DTD
Availability
DOM Level 1 XML
Inherits from/Overrides
Node → Notation
Properties
-
readonly String publicId The public identifier of the notation, or
nullif none is specified.-
readonly String systemId The system identifier of the notation, or
nullif none is specified.
Description
This infrequently used interface represents a notation declaration in the document type definition (DTD) of an XML document. In XML, notations are used to specify the format of an unparsed entity or to formally declare a processing instruction target.
The name of the notation is specified by the inherited
nodeName property. Because notations appear in the
DTD and not the document itself, Notation nodes are never part of the
document tree, and the parentNode property is
always null. The notations property of the
DocumentType interface provides a way to look up Notation objects by
notation name.
Notation objects are read-only and cannot be modified in any way.