AngleSharp by Florian Rappl

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

.NET API 1,229,312 bytes

 DomImplementation

Provides a number of methods for performing operations that are independent of any particular instance of the DOM.

public IXmlDocument CreateDocument(string namespaceUri = null, string qualifiedName = null, IDocumentType doctype = null)

Creates a DOM Document object of the specified type with its document element.

public IDocumentType CreateDocumentType(string qualifiedName, string publicId, string systemId)

Creates an empty DocumentType node. Entity declarations and notations are not made available. Entity reference expansions and default attribute additions do not occur.

public IDocument CreateHtmlDocument(string title)

Creates a DOM HTML Document object of the specified type with its document element.

public bool HasFeature(string feature, string version = null)

Test if the DOM implementation implements a specific feature and version, as specified in DOM Features.