
## set_attribute(name, value) {#str-str}

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.



```python
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.inline](../../)
* class [InlineXbrlFootnoteElement](/finance/python-net/aspose.finance.xbrl.dom.inline/inlinexbrlfootnoteelement)
