## XmlElement::RemoveAttribute(String, String) method


Removes an attribute with the specified local name and namespace URI. (If the removed attribute has a default value, it is immediately replaced).

```cpp
virtual void System::Xml::XmlElement::RemoveAttribute(String localName, String namespaceURI)
```


| Parameter | Type | Description |
| --- | --- | --- |
| localName | String | The local name of the attribute to remove. |
| namespaceURI | String | The namespace URI of the attribute to remove. |

## See Also

* Class [String](../../../system/string/)
* Class [XmlElement](../)
* Namespace [System::Xml](../../)
* Library [Aspose.Page for C++](../../../)
## XmlElement::RemoveAttribute(String) method


Removes an attribute by name.

```cpp
virtual void System::Xml::XmlElement::RemoveAttribute(String name)
```


| Parameter | Type | Description |
| --- | --- | --- |
| name | String | The name of the attribute to remove. This is a qualified name. It is matched against the **get_Name** value of the matching node. |

## See Also

* Class [String](../../../system/string/)
* Class [XmlElement](../)
* Namespace [System::Xml](../../)
* Library [Aspose.Page for C++](../../../)
