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.
#r "nuget: OneCode.Html, 1.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install OneCode.Html as a Cake Addin
#addin nuget:?package=OneCode.Html&version=1.0.0

// Install OneCode.Html as a Cake Tool
#tool nuget:?package=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.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0 760 10/16/2017