See Also: XmlElement Members
Elements are one of the most common nodes in the W3C Document Object Model (DOM). Elements can have attributes associated with them. The XmlElement class has many methods for accessing attributes (XmlElement.GetAttribute(string), XmlElement.SetAttribute(string, string), XmlElement.RemoveAttribute(string), XmlElement.GetAttributeNode(string), and so on). You can also use the XmlElement.Attributes property which returns an System.Xml.XmlAttributeCollection enabling you to access attributes by name or index from the collection.