Sets an attribute with namespace namespaceURI and name name to the given value. If the attribute does not exist, it will be created.
The namespace URI.
The qualified name of the attribute, as prefix:tagname.
The value of the attribute.
Raised if the node is readonly.
Raised if qualifiedName is a malformed qualified name, or if qualifiedName has a prefix and namespaceURI is NULL.
DOMElement->hasAttributeNS() |
DOMElement->getAttributeNS() |
DOMElement->removeAttributeNS() |
Пред. | Начало | След. |
DOMElement->setAttributeNodeNS() | Уровень выше | DOMAttr->__construct() |