(PHP 5)
DOMElement::removeAttribute — Removes attribute
$name
)
Removes attribute named name
from the element.
name
The name of the attribute.
成功时返回 TRUE
, 或者在失败时返回 FALSE
。
DOM_NO_MODIFICATION_ALLOWED_ERR
Raised if the node is readonly.