![]() | DOMElement->setAttributeDescriptionbool DOMElement->setAttribute ( string name, string value)Sets an attribute with name name to the given value. If the attribute does not exist, it will be created. Throws DOMExcpetion if node cannot be modified.
See also DOMElement->getAttribute() | ![]() | |