(PHP 5, PHP 7)
DOMElement::removeAttribute — Removes attribute
$name
) : bool
Removes attribute named name from the element.
nameThe name of the attribute.
Gibt bei Erfolg TRUE zurück. Im Fehlerfall wird FALSE zurückgegeben.
DOM_NO_MODIFICATION_ALLOWED_ERRRaised if the node is readonly.