set_attribute method
set_attribute(name, value)
Adds a new attribute. If an attribute with that name is already present in the element, its value is changed to be that of the value parameter.
def set_attribute(self, name, value):
...
Parameter | Type | Description |
---|---|---|
name | str | The attribute name. |
value | str | The attribute value. |
See Also
- module aspose.finance.xbrl.dom.html
- class HTMLTitleElement