PHP-manual | ||
---|---|---|
Föregående | Nästa |
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()
Föregående | Hem | Nästa |
DOMElement->removeAttributeNS | Upp | DOMElement->setAttributeNode |