PHP Manual
PrevNext

DOMElement->removeAttribute

(no version information, might be only in CVS)

DOMElement->removeAttribute -- Removes attribute

Description

bool DOMElement->removeAttribute ( string name)

Removes attribute named name from the element.

Throws DOMExcpetion if node cannot be modified.


PrevHomeNext
DOMElement->hasAttributeNSUpDOMElement->removeAttributeNode