AngleSharp by AngleSharp

<PackageReference Include="AngleSharp" Version="0.16.1-alpha-112" />

 XmlExtensions

public static class XmlExtensions
Useful helpers for the XML parser.
public static bool IsPubidChar(this char c)

Determines if the given character is a legal character for the public id field: http://www.w3.org/TR/REC-xml/#NT-PubidChar

public static bool IsQualifiedName(this string str)

Determines if the given string is a valid qualified name.

public static bool IsValidAsCharRef(this int chr)

Checks if the given integer would be a valid character.

public static bool IsXmlChar(this char chr)

Checks if the given char is a valid character.

public static bool IsXmlName(this char c)

Determines if the given character is a name character for XML. http://www.w3.org/TR/REC-xml/#NT-NameChar

public static bool IsXmlName(this string str)

Determines if the given string is a valid (local or qualified) name.

public static bool IsXmlNameStart(this char c)

Determines if the given character is a legal name start character for XML. http://www.w3.org/TR/REC-xml/#NT-NameStartChar