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.
See Also
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access