Mono Class Library: System.Xml.XmlDocument Overview | MembersSystem.Xml.XmlDocument.CreateAttribute Method |
Creates an System.Xml.XmlAttribute object. [Edit]
|
A new System.Xml.XmlAttribute instance whose XmlAttribute.OwnerDocument is this document. [Edit]
Creates a new XmlAttribute instance with specified name components. localName must be a valid XML Name string.
If the prefix parameter is "xmlns" or localName is "xmlns" and the prefix is an empty string, then "http://www.w3.org/2000/xmlns/" is automatically supplied for namespace URI of the returned node. Similarly, "http://www.w3.org/XML/1998/namespace" is supplied if the prefix is "xml".
[Edit]
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0