DOM - Notation Object



In this chapter, we will study about the XML DOM Notation object. The notation object property provides a scope to recognize the format of elements with a notation attribute, a particular processing instruction or a non-XML data. The Node Object properties and methods can be performed on the Notation Object since that is also considered as a Node.

This object inherits methods and properties from Node. Its nodeName is the notation name. Has no parent.

Attributes

The following table lists the attributes of the Notation object −

Attribute Type Description
publicID DOMString It gives the name of the public identifier associated with the notation.
systemID DOMString It gives the name of the system identifier associated with the notation.
Advertisements