DOMElement->setAttributeNS

(no version information, might be only in CVS)

DOMElement->setAttributeNS -- Adds new attribute

Description

void DOMElement->setAttributeNS ( string namespaceURI, string qualifiedName, string value)

Sets an attribute with namespace namespaceURI and name name to the given value. If the attribute does not exist, it will be created.

Throws DOMException if node cannot be modified.

See also DOMElement->getAttributeNS()