DOMElement->setAttributeNodeNS()

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

Opis

class DOMElement {

DOMAttr setAttributeNodeNS ( DOMAttr attr )

}

Adds new attribute node attr to element.

Parametry

name

The attribute node.

Zwracane wartości

Returns the old node if the attribute has been replaced.

Wyjątki

DOM_NO_MODIFICATION_ALLOWED_ERR

Raised if the node is readonly.

Patrz także

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

Hosting by: Hurra Communications Sp. z o.o.
Generated: 2007-01-26 18:02:43