DOM XML Функции
PHP Manual

DomElement->remove_attribute

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

DomElement->remove_attribute Removes attribute

Описание

bool remove_attribute ( string $name )

Removes an attribute from the current DomElement node.

Список параметров

name

The name of the attribute to remove.

Возвращаемые значения

Возвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки.

Migrating to PHP 5

Use DOMElement::removeAttribute.


DOM XML Функции
PHP Manual