DomElement->remove_attribute()
DomElement->set_attribute()
DOM XML Functions
PHP Manual

# DomElement->set_attribute_node()

(No version information available, might be only in CVS)

DomElement->set_attribute_node() — Adds new attribute

### Description

DomElement
DomNode set_attribute_node ( DomNode `$attr` )

Warning

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

DomElement->remove_attribute()
DomElement->set_attribute()
DOM XML Functions
PHP Manual