(PHP 5)
DOMElement::setAttributeNS — Adds new attribute
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.