DOMElement
PHP Manual

DOMElement::removeAttributeNS

(PHP 5)

DOMElement::removeAttributeNSRemoves attribute

Описание

bool DOMElement::removeAttributeNS ( string $namespaceURI , string $localName )

Removes attribute is namespace namespaceURI named localName from the element.

Параметри

namespaceURI

The namespace URI.

localName

The local name.

Връщани стойности

Връща TRUE при успех или FALSE при неуспех.

Грешки/Изключения

DOM_NO_MODIFICATION_ALLOWED_ERR

Raised if the node is readonly.

Вж. също


DOMElement
PHP Manual