Creates an System.Xml.XmlAttribute with the specified XmlDocument.Name.
- name
- The qualified name of the attribute. If the name contains a colon, the XmlNode.Prefix property reflects the part of the name preceding the first colon and the XmlDocument.LocalName property reflects the part of the name following the first colon. The XmlNode.NamespaceURI remains empty unless the prefix is a recognized built-in prefix such as xmlns. In this case NamespaceURI has a value of http://www.w3.org/2000/xmlns/.
The new XmlAttribute.
The XmlAttribute can be added to an System.Xml.XmlElement using the XmlElement.SetAttributeNode(XmlAttribute) method.