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
<PackageReference Include="OfficeIMO.Html.AngleSharp" Version="3.4.4" />
<PackageVersion Include="OfficeIMO.Html.AngleSharp" Version="3.4.4" />
<PackageReference Include="OfficeIMO.Html.AngleSharp" />
paket add OfficeIMO.Html.AngleSharp --version 3.4.4
#r "nuget: OfficeIMO.Html.AngleSharp, 3.4.4"
#:package OfficeIMO.Html.AngleSharp@3.4.4
#addin nuget:?package=OfficeIMO.Html.AngleSharp&version=3.4.4
#tool nuget:?package=OfficeIMO.Html.AngleSharp&version=3.4.4
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 | Versions 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. |
-
.NETFramework 4.7.2
- AngleSharp (>= 1.7.1)
- OfficeIMO.Html.Core (>= 3.4.4)
- System.Text.Encoding.CodePages (>= 8.0.0)
-
.NETStandard 2.0
- AngleSharp (>= 1.7.1)
- OfficeIMO.Html.Core (>= 3.4.4)
- System.Text.Encoding.CodePages (>= 8.0.0)
-
net10.0
- AngleSharp (>= 1.7.1)
- OfficeIMO.Html.Core (>= 3.4.4)
-
net8.0
- AngleSharp (>= 1.7.1)
- OfficeIMO.Html.Core (>= 3.4.4)
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 |