downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

DOMElement::removeAttributeNS> <DOMElement::removeAttribute
[edit] Last updated: Fri, 17 May 2013

view this page in

DOMElement::removeAttributeNode

(PHP 5)

DOMElement::removeAttributeNodeRemoves attribute

说明

bool DOMElement::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.

参见



add a note add a note User Contributed Notes DOMElement::removeAttributeNode - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites