(PHP 5, PHP 7, PHP 8)
DOMAttr representa un atributo en el objeto DOMElement.
El nombre del atributo.
El elemento que contiene el atributo o null
.
Aún no implementado, siempre es null
Aún no implementado, siempre es true
.
El valor del atributo.
Nota:
Note, XML entities are expanded upon setting a value. Thus the
&
character has a special meaning. Setting value to itself will fail when value contains an&
. To avoid entity expansion, use DOMElement::setAttribute() instead.