OfficeIMO.Html.AngleSharp 3.4.4

Prefix Reserved
dotnet add package OfficeIMO.Html.AngleSharp --version 3.4.4
                    
NuGet\Install-Package OfficeIMO.Html.AngleSharp -Version 3.4.4
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="OfficeIMO.Html.AngleSharp" Version="3.4.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="OfficeIMO.Html.AngleSharp" Version="3.4.4" />
                    
Directory.Packages.props
<PackageReference Include="OfficeIMO.Html.AngleSharp" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add OfficeIMO.Html.AngleSharp --version 3.4.4
                    
#r "nuget: OfficeIMO.Html.AngleSharp, 3.4.4"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package OfficeIMO.Html.AngleSharp@3.4.4
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=OfficeIMO.Html.AngleSharp&version=3.4.4
                    
Install as a Cake Addin
#tool nuget:?package=OfficeIMO.Html.AngleSharp&version=3.4.4
                    
Install as a Cake Tool

OfficeIMO.Html.AngleSharp

AngleSharp-backed parsing, selectors and serialization for the owned OfficeIMO HTML document model. Parsing is inert: it does not execute scripts or fetch resources.

dotnet add package OfficeIMO.Html.AngleSharp

This includes OfficeIMO.Html.Core. Keep directly referenced OfficeIMO packages on the same version. Install OfficeIMO.Html for resource policy, conversion, styles and rendering; it includes this provider.

using OfficeIMO.Html.Dom;
using OfficeIMO.Html.Providers;

HtmlDocument document = AngleSharpHtmlParser.Instance.Parse(
    "<h1>Hello</h1>", new HtmlParseOptions());
HtmlDocument edited = document.Edit(editor => {
    editor.QuerySelector("h1")!.TextContent = "Updated";
});
string html = edited.OuterHtml;

The provider retains a native tree alongside owned nodes for selector and conversion reuse. The existing CSS/layout engine still uses a structural native-DOM adapter internally. This package does not claim dependency independence or browser execution. Source and tree budgets are enforced before downstream conversion work; parsing remains subject to the underlying parser's cooperative cancellation behavior.

AngleSharpEncodingProvider implements the owned IHtmlEncodingProvider charset contract. It retains AngleSharp web aliases and System.Text.Encoding.CodePages; initialization preserves the existing process-wide code-page registration. The HTML conversion package owns byte-order-mark precedence, HTML prescanning, CSS decoding rules and stream lifetime. This provider supplies label resolution.

Native trees are constructed before node/depth budgets can be checked. Source length is checked first, and parser cancellation is cooperative. Query results use owned nodes, including detached nodes. Invalid selectors throw ArgumentException. Conversion exports the attached tree, including template content. A detached tree is materialized only when that tree is queried or serialized; unrelated detached trees do not affect conversion or document queries. The parser handles a full document; HtmlParseOptions does not select a fragment context.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 is compatible.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on OfficeIMO.Html.AngleSharp:

Package Downloads
OfficeIMO.Html

HTML parsing, resource policy, CSS layout, diagnostics, and direct rendering for OfficeIMO converters.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.4.4 106 9/27/2026