## Element.SetAttributeNS method

Adds a new attribute. If an attribute with the same local name and namespace URI is already present on the element, its prefix is changed to be the prefix part of the qualifiedName, and its value is changed to be the value parameter.

```csharp
public void SetAttributeNS(string namespaceURI, string qualifiedName, string value)
```

| Parameter | Type | Description |
| --- | --- | --- |
| namespaceURI | String | The namespace URI. |
| qualifiedName | String | Name of the qualified. |
| value | String | The value. |

### See Also

* class [Element](../)
* namespace [Aspose.Html.Dom](../../../aspose.html.dom/)
* assembly [Aspose.HTML](../../../)
