Home > PHP > Function > DOM XML (PHP 4) > DomElement->set_attribute_node()

DomElement->set_attribute_node()

DomElement->set_attribute_node - Adds new attribute

Syntax

DomNode DomElement->set_attribute_node (DomNode $attr)

Arguments

  • attr - The name of the attribute to remove.

Description

Warning This function is currently not documented; only its argument list is available.

Version

PHP 4.1.0

Return value