Interface for maps of nodes.
Properties:
Name | Type | Description |
---|---|---|
length |
number | The length of the map. |
Methods
-
getNamedItem(name)
-
Returns an item in the map.
Parameters:
Name Type Description name
string The qualified name of the item. Returns:
The item with the given name, or null if it does not exist.- Type
- Node
-
getNamedItem(name, namespaceURI)
-
Returns an item in the map.
Parameters:
Name Type Description name
string The local name of the item. namespaceURI
string The UIR of the namespace of the item. Returns:
The item with the given name and namespace, or null if it does not exist.- Type
- Node
-
item(index)
-
Returns an item in the map.
Parameters:
Name Type Description index
number The index of the item. Returns:
The element at index, or null if it does not exist.- Type
- Node