NamedNodeMap class
NamedNodeMap class
Represents collections of attributes that can be accessed by name.
Inheritance: NamedNodeMap →
DOMObject
The NamedNodeMap type exposes the following members:
Properties
| Property | Description |
|---|---|
| length | The 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
| Name | Description |
|---|---|
| [index] | The index. |
Methods
| Method | Description |
|---|---|
| get_platform_type | This method is used to retrieve the ECMAScript object Type. |
| get_named_item | Retrieves a node specified by name. |
| get_named_item_ns | Retrieves a node specified by local name and namespace URI. |
| set_named_item | Adds 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_ns | Adds 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_item | Removes a node specified by name. |
| remove_named_item_ns | Removes a node specified by local name and namespace URI. |
See Also
- module
aspose.html.collections - class
DOMObject - class
NamedNodeMap