OneCode.Html 1.0.0

OneCode.Html is an highly-optimized library for parsing an HTML text stream into an HtmlTree object. After the tree is built, you can traverse the tree and access the HTML ElementNode(s) and AttributeNode(s).  The library can be used in any .NET applications, including Xamarin. UWP, ASP.NET, WPF, .NET Core for Linux, etc.

Install-Package OneCode.Html -Version 1.0.0
dotnet add package OneCode.Html --version 1.0.0
<PackageReference Include="OneCode.Html" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add OneCode.Html --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

The library provides an HTML tree parser for parsing an HTML text stream into an HtmlTree object.

For example,

//Create an HTML parsed tree.
var tree = new HtmlTree(new TextStream(html));
tree.Build();

After the tree is built, you can traverse the tree and access the HTML ElementNode(s) and AttributeNode(s).

The library provides an HTML tree parser for parsing an HTML text stream into an HtmlTree object.

For example,

//Create an HTML parsed tree.
var tree = new HtmlTree(new TextStream(html));
tree.Build();

After the tree is built, you can traverse the tree and access the HTML ElementNode(s) and AttributeNode(s).

  • .NETStandard 2.0

    • No dependencies.

Version History

Version Downloads Last updated
1.0.0 289 10/16/2017