DOMElement->setAttributeNodeNS()

(no version information, might be only in CVS)

DOMElement->setAttributeNodeNS() -- Aggiunge un nuovo nodo attributo all'elemento

Descrizione

class DOMElement {

DOMAttr setAttributeNodeNS ( DOMAttr attr )

}

Aggiunge un nuovo nodo attr all'elemento.

Elenco dei parametri

name

Nodo attributo.

Valori restituiti

Restituisce il vecchio nodo se l'attributo viene sostituito.

Eccezioni

DOM_NO_MODIFICATION_ALLOWED_ERR

Generato se il nodo รจ in sola lettura.

Vedere anche:

DOMElement->hasAttributeNS()
DOMElement->getAttributeNodeNS()
DOMElement->removeAttributeNode()