AngleSharp by Florian Rappl

<PackageReference Include="AngleSharp" Version="0.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) : base(owner, name, NodeFlags.None) { base.NamespaceUri = Namespaces.XmlUri; } public override INode Clone(bool deep = true) { XmlElement xmlElement = new XmlElement(base.Owner, base.NodeName); Node.CopyProperties(this, xmlElement, deep); Element.CopyAttributes(this, xmlElement); xmlElement.IdAttribute = IdAttribute; return xmlElement; } } }