NamedNodeMap class

NamedNodeMap class

Represents collections of attributes that can be accessed by name.

Inheritance: NamedNodeMapDOMObject

The NamedNodeMap type exposes the following members:

Properties

PropertyDescription
lengthThe number of nodes in this map.

Returns the index-th item in the map. If index is greater than or equal to the number of nodes in this map, this returns null.

Indexer

NameDescription
[index]The index.

Methods

MethodDescription
get_platform_typeThis method is used to retrieve ECMAScript object Type.
get_named_itemRetrieves a node specified by name.
get_named_item_nsRetrieves a node specified by local name and namespace URI.
set_named_itemAdds a node using its nodeName attribute. If a node with that name is already present in this map, it is replaced by the new one. Replacing a node by itself has no effect.
set_named_item_nsAdds a node using its namespaceURI and localName. If a node with that namespace URI and that local name is already present in this map, it is replaced by the new one. Replacing a node by itself has no effect.
remove_named_itemRemoves a node specified by name.
remove_named_item_nsRemoves a node specified by local name and namespace URI.

See Also