AngleSharp by AngleSharp

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

 MathElement

Represents an element of the MathML DOM.
using AngleSharp.Extensions; using AngleSharp.Html; using AngleSharp.Services; namespace AngleSharp.Dom.Mathml { internal class MathElement : Element { public MathElement(Document owner, string name, string prefix = null, NodeFlags flags = NodeFlags.None) : base(owner, name, prefix, NamespaceNames.MathMlUri, flags | NodeFlags.MathMember) { } public override INode Clone(bool deep = true) { MathElement mathElement = base.Owner.Options.GetFactory<IMathElementFactory>().Create(base.Owner, base.LocalName, base.Prefix); CloneElement(mathElement, deep); return mathElement; } } }