AngleSharp by AngleSharp

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

 XmlTreeMode

Possible insertation mode values.
After = 4

The misc mode (after root).

Body = 3

The body (after the doctype or first element).

Initial = 0

The initial mode - waiting for the XML declaration.

Misc = 2

The misc mode (e.g. between doctype and first element).

Prolog = 1

The prolog (before the doctype or any element).