Notation in DOM Level 2 Core

The Notation interface represents a notation declared in the DTD.

Inherits from:

For official information please see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#ID-5431D1B9.

Instance Properties

name type description
nodeName String (read only) [from Node]
nodeValue String [from Node]
nodeType Number (read only) [from Node]
parentNode Node (read only) [from Node]
childNodes NodeList (read only) [from Node]
firstChild Node (read only) [from Node]
lastChild Node (read only) [from Node]
previousSibling Node (read only) [from Node]
nextSibling Node (read only) [from Node]
attributes NamedNodeMap (read only) [from Node]
ownerDocument Document (read only) [from Node]
namespaceURI String (read only) [from Node]
prefix String [from Node]
localName String (read only) [from Node]
publicId String (read only)
systemId String (read only)

Instance Methods

name returns description
insertBefore() Node [from Node]
replaceChild() Node [from Node]
removeChild() Node [from Node]
appendChild() Node [from Node]
cloneNode() Node Return a new copy of the node. [from Node]
isSupported() Boolean [from Node]
hasChildNodes() Boolean [from Node]
normalize() (none) [from Node]
hasAttributes() Boolean [from Node]

Description

 

This interface represents a notation declared in the DTD. A notation either declares, by name, the format of an unparsed entity (see section 4.7 of the XML 1.0 specification [XML]), or is used for formal declaration of processing instruction targets (see section 2.6 of the XML 1.0 specification [XML]). The nodeName attribute inherited from Node is set to the declared name of the notation.

The DOM Level 1 does not support editing Notation nodes; they are therefore readonly.

A Notation node does not have any parent.