|
DOMElement::setAttributeAdds new or modifies existing attribute Description
public DOMAttrbool DOMElement::setAttribute(string
$qualifiedName, string $value)
Sets an attribute with name Parameters
Return Values
The created or modified DOMAttr or Errors/ExceptionsMay throw a DOMException with the following error codes:
Examples
Example #1 Setting an attribute See Also
|