XmlDocument.CreateAttribute Method
| Explanation | Create an Attr node. Not supported in Mobile, AI | |
| Call format | var attr = xmldoc.CreateAttribute( name ) | |
| Return value | XmlAttr object | |
| Arguments | String name | Attribute name |
| Exception | DOM-5 | INVALID_CHARACTER_ERR |
| Example of use | | |
| Related item | XmlAttr class CreateAttributeNS method | |