DOM NamedNodeMap
XML DOM - NamedNodeMap Object
The NamedNodeMap object represents an unordered list of nodes.
NamedNodeMap object
Nodes in a NamedNodeMap can be accessed by their names.
NamedNodeMap will update itself. If an element is deleted or added to the node list or XML document, the list is automatically updated.
Note: In a named node graph, nodes are not returned in any particular order.
NamedNodeMap object properties
Properties | Description |
---|---|
length | Return the number of nodes in the list. |
NamedNodeMap Object Methods
Description | |
---|---|
Returns the specified node (by name). | |
Returns the specified node (by name and namespace). | |
Returns the node with the specified index number. | |
Removes the specified node (by name). | |
Removes the specified node (by name and namespace). | |
Set the specified node (by name). | |
Set the specified node (by name and namespace). |