AngleSharp by Florian Rappl

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

 XmlToken

abstract class XmlToken
The abstract base class of any XML token.
protected XmlTokenType _type

public static XmlEndOfFileToken EOF { get; }

Gets the end of file token.

public virtual bool IsIgnorable { get; }

Gets if the token is a character token and contains a white-space character.

public XmlTokenType Type { get; }

Gets the type of the token.

protected XmlToken()

public static XmlCDataToken CData(string data)

Creates a new CData token.

public static XmlCharacterToken Character(char character)

Creates a new character token.

public static XmlTagToken CloseTag()

Creates a new close tag token.

public static XmlToken Comment(string data)

Creates a new comment token.

Creates a new declaration token.

public static XmlDoctypeToken Doctype()

Creates a new doctype token.

public static XmlTagToken OpenTag()

Creates a new open tag token.

public static XmlPIToken Processing()

Creates a new processing instruction token.