DOMElement->setAttributeNode()

(no version information, might be only in CVS)

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

Описание

class DOMElement {

DOMAttr setAttributeNode ( DOMAttr attr )

}

Adds new attribute node attr to element.

Список параметров

attr

The attribute node.

Возвращаемые значения

Returns old node if the attribute has been replaced or NULL.

Исключения

DOM_NO_MODIFICATION_ALLOWED_ERR

Raised if the node is readonly.



DOMElement->setAttributeNode()
There are no user contributed notes for this page.

<DOMElement->setAttribute()DOMElement->setAttributeNodeNS()>
 Last updated: Mon, 14 Nov 2005