DOMElement::removeAttributeNS

(PHP 5, PHP 7, PHP 8)

DOMElement::removeAttributeNSRemoves attribute

Descrizione

public DOMElement::removeAttributeNS(?string $namespace, string $localName): void

Removes attribute localName in namespace namespace from the element.

Elenco dei parametri

namespace

The namespace URI.

localName

The local name.

Valori restituiti

Nessun valore viene restituito.

Errori/Eccezioni

DOM_NO_MODIFICATION_ALLOWED_ERR

Raised if the node is readonly.

Vedere anche: