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

search for in the

DomElement->set_attribute_node> <DomElement->has_attribute
Last updated: Fri, 11 Dec 2009

view this page in

DomElement->remove_attribute

(PHP 4 >= 4.1.0)

DomElement->remove_attribute Removes attribute

Description

bool remove_attribute ( string $name )

Removes an attribute from the current DomElement node.

Parameters

name

The name of the attribute to remove.

Return Values

Returns TRUE on success or FALSE on failure.

Migrating to PHP 5

Use DOMElement::removeAttribute.



add a note add a note User Contributed Notes
DomElement->remove_attribute
There are no user contributed notes for this page.

DomElement->set_attribute_node> <DomElement->has_attribute
Last updated: Fri, 11 Dec 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites