DOMElement->setAttributeNodeNS

(no version information, might be only in CVS)

DOMElement->setAttributeNodeNS -- Adds new attribute node to element

Description

bool DOMElement->setAttributeNodeNS ( DOMAttr attr)

Adds new attribute node attr to element. Returns old node if attribute replaced.

Throws DOMException if node cannot be modified.