NamedNodeMap interface - Is used to represent collections of nodes that can be accessed by name. NamedNodeMaps are not maintained in any particular order.
Python extensions: can use sequence-style len
, getitem
, and
for..in
constructs, and mapping-style getitem
.
There are no implemented interfaces.
There are no attributes in this class.
getLength()
The length of the NodeList
getNamedItem(name)
Retrieves a node specified by name. Parameters: name Name of a node to retrieve. Return Value A Node (of any type) with the specified name, or None if the specified name did not identify any node in the map.
item(index)
Returns the index-th item in the map
There are no known subclasses.