public setIdAttributeNS(namespaceURI as String, localName as String, isId as Boolean) as Void throws DOMException
Marks a namespace-aware attribute as an identifier attribute.
| Parameter | Description |
|---|---|
namespaceURI | Namespace URI. |
localName | Attribute local name. |
isId | True when the attribute should be treated as an identifier. |
element.setIdAttributeNS(null, "id", true)