(PHP 5, PHP 7, PHP 8)
DOMElement::removeAttributeNS — Removes attribute
$namespace
, string $localName
): void
Removes attribute localName
in namespace namespace
from the element.
namespace
The namespace URI.
localName
The local name.
No value is returned.
DOM_NO_MODIFICATION_ALLOWED_ERR
Raised if the node is readonly.