DOMElement->removeAttributeNode()

(no version information, might be only in CVS)

DOMElement->removeAttributeNode() -- Removes attribute

説明

class DOMElement {

bool removeAttributeNode ( DOMAttr oldnode )

}

Removes attribute oldnode from the element.

パラメータ

oldnode

The attribute node.

戻り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。

例外

DOM_NO_MODIFICATION_ALLOWED_ERR

Raised if the node is readonly.

DOM_NOT_FOUND_ERROR

Raised if oldnode is not an attribute of the element.

以下も参照ください

DOMElement->hasAttribute()
DOMElement->getAttributeNode()
DOMElement->setAttributeNode()