AngleSharp by AngleSharp

<PackageReference Include="AngleSharp" Version="0.9.8.1" />

 XmlElement

sealed class XmlElement : Element
The object representation of an XMLElement.
using AngleSharp.Html; namespace AngleSharp.Dom.Xml { internal sealed class XmlElement : Element { internal string IdAttribute { get; set; } public XmlElement(Document owner, string name, string prefix = null) : base(owner, name, prefix, NamespaceNames.XmlUri, NodeFlags.None) { } public override INode Clone(bool deep = true) { XmlElement xmlElement = new XmlElement(base.Owner, base.LocalName, base.Prefix); CloneElement(xmlElement, deep); xmlElement.IdAttribute = IdAttribute; return xmlElement; } } }