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