Microsoft Docs

XmlElement Class

The System.Xml.XmlElement class represents an element in an XML document. It inherits from XmlNode and provides methods and properties to manipulate element attributes, child nodes, and inner XML.

Overview

Namespace: System.Xml

Assembly: System.Xml.dll

Use XmlElement to work with element nodes, manage attributes, and interact with the element's text content.