DomElement->set_attribute()
DomElement->set_attribute - Sets the value of an attributeSyntax
DomAttribute DomElement->set_attribute (string $name, string $value)Arguments
- name - The name of the attribute. If this attribute doesn\'t exist, it will be created.
- value - The value of the attribute.
