set_named_item_ns method
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.
Returns
Returns node.
def set_named_item_ns(self, attr):
...
| Parameter | Type | Description |
|---|---|---|
| attr | aspose.html.dom.Attr | The attribute. |
Exceptions
| Exception | Description |
|---|---|
DOMException |
See Also
- module
aspose.html.collections - class
Attr - class
DOMException - class
NamedNodeMap