Forum und email

DOMElement->removeAttributeNode()

(No version information available, might be only in CVS)

DOMElement->removeAttributeNode() — Removes attribute

說明

DOMElement
bool removeAttributeNode ( DOMAttr $oldnode )

Removes attribute oldnode from the element.

參數

oldnode

The attribute node.

Return值

如果成功則回傳 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.