AngleSharp by Florian Rappl

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

 XmlParser

public sealed class XmlParser : IParser
For more details: See http://www.w3.org/TR/xml11/ and http://www.w3.org/html/wg/drafts/html/master/the-xhtml-syntax.html#xml-parser.
public bool IsAsync { get; }

Gets if the parser has been started asynchronously.

public XMLDocument Result { get; }

Gets the (maybe intermediate) result of the parsing process.

public bool Standalone { get; }

Gets if the XML is standalone.

This event is raised once a parser error occured.

public XmlParser(string source)

Creates a new instance of the XML parser with an new document based on the given source.

public XmlParser(Stream stream)

Creates a new instance of the XML parser with an new document based on the given stream.

public XmlParser(XMLDocument document, string source)

Creates a new instance of the XML parser with the specified document based on the given source.

public XmlParser(XMLDocument document, Stream stream)

Creates a new instance of the XML parser with the specified document based on the given stream.

public void Parse()

Parses the given source and creates the document.

public Task ParseAsync()

Parses the given source asynchronously and creates the document. WARNING: This method is not yet implemented.