DomElement->remove_attribute Removes attribute &reftitle.description; DomElement boolremove_attribute stringname Removes an attribute from the current DomElement node. &reftitle.parameters; name The name of the attribute to remove. &reftitle.returnvalues; &return.success; Migrating to PHP 5 Use .