set_named_item method

set_named_item(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

The attribute

def set_named_item(self, item):
    ...
Parameter Type Description
item Attr The attribute.

See Also