DOMElement->setAttributeNS()

(no version information, might be only in CVS)

DOMElement->setAttributeNS() -- Aggiunge un nuovo attributo

Descrizione

class DOMElement {

void setAttributeNS ( string namespaceURI, string qualifiedName, string value )

}

Imposta un attributo di nome name nello spazio dei nomi namespaceURI al valore dato. Se l'attributo non esiste viene creato.

Elenco dei parametri

namespaceURI

URI dello spazio dei nomi.

qualifiedName

Nome qualificato dell'attributo, nella forma prefisso:nometag.

value

Valore dell'attributo.

Valori restituiti

No value is returned.

Eccezioni

DOM_NO_MODIFICATION_ALLOWED_ERR

Generato se il nodo è in sola lettura.

DOM_NAMESPACE_ERR

Generato se qualifiedName è un nome qualificato malformato, oppure se qualifiedName ha un prefisso, ma namespaceURI è NULL.