Attr of the given name. Note that the Attr instance can then be set on an Element using the setAttribute method. createAttributeNS method.
@param name The name of the attribute.
@return A new Attr object with the nodeName attribute set to name , and localName , prefix , and namespaceURI set to null .
@exception DOMException INVALID_CHARACTER_ERR: Raised if the specified name contains an illegal character.
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |