set_attribute_node_ns method

set_attribute_node_ns

Adds a new attribute. If an attribute with that local name and that namespace URI is already present in the element, it is replaced by the new one.

Returns

Returns attribute

def set_attribute_node_ns(self, new_attr):
    ...
ParameterTypeDescription
new_attrAttrThe new attr.

See Also