AngleSharp by AngleSharp

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

.NET API 1,232,384 bytes

 Node

Represents a node in the generated tree.
public string BaseUri { get; }

public Url BaseUrl { get; set; }

public bool HasChildNodes { get; }

public string NodeName { get; }

public NodeType NodeType { get; }

public virtual string NodeValue { get; set; }

public IElement ParentElement { get; }

public virtual string TextContent { get; set; }

protected static void CopyProperties(Node source, Node target, bool deep)

Copies all (Node) properties of the source to the target.

protected static void GetPrefixAndLocalName(string qualifiedName, ref string namespaceUri, out string prefix, out string localName)

For more information, see: https://dom.spec.whatwg.org/#validate-and-extract

public INode AppendChild(INode child)

public virtual INode Clone(bool deep = true)

public bool Contains(INode otherNode)

public virtual bool Equals(INode otherNode)

public INode InsertBefore(INode newElement, INode referenceElement)

public INode InsertChild(int index, INode child)

public bool IsDefaultNamespace(string namespaceUri)

protected virtual string LocateNamespace(string prefix)

Tries to locate the namespace of the given prefix.

protected virtual string LocatePrefix(string namespaceUri)

Tries to locate the prefix with the namespace.

public string LookupNamespaceUri(string prefix)

public string LookupPrefix(string namespaceUri)

public void Normalize()

public INode RemoveChild(INode child)

public INode ReplaceChild(INode newChild, INode oldChild)

public virtual string ToHtml(IMarkupFormatter formatter)