Manual do PHP
Anterior |  | Próxima

# 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 DOMExcpetion if node cannot be modified.

See also DOMElement->getAttributeNS()

Anterior | Principal | Próxima
DOMElement->setAttributeNodeNS | Acima | DOMImplementation->createDocument