![]() |
VOOZH | about |
dotnet add package AngleSharp.Xml --version 1.0.0
NuGet\Install-Package AngleSharp.Xml -Version 1.0.0
<PackageReference Include="AngleSharp.Xml" Version="1.0.0" />
<PackageVersion Include="AngleSharp.Xml" Version="1.0.0" />Directory.Packages.props
<PackageReference Include="AngleSharp.Xml" />Project file
paket add AngleSharp.Xml --version 1.0.0
#r "nuget: AngleSharp.Xml, 1.0.0"
#:package AngleSharp.Xml@1.0.0
#addin nuget:?package=AngleSharp.Xml&version=1.0.0Install as a Cake Addin
#tool nuget:?package=AngleSharp.Xml&version=1.0.0Install as a Cake Tool
👁 CI
👁 GitHub Tag
👁 NuGet Count
👁 Issues Open
👁 Gitter Chat
👁 StackOverflow Questions
AngleSharp.Xml extends the core AngleSharp library with some XML capabilities. This repository is the home of the source for the AngleSharp.Xml NuGet package.
If you just want a configuration that works you should use the following code:
var config = Configuration.Default
.WithXml(); // from AngleSharp.Xml
This will register a parser for XML related content.
Alternatively, you can also the XmlParser directly:
var parser = new XmlParser();
parser.ParseDocument(@"<?xml version=""1.0"" encoding=""ISO-8859-1""?>
<note>
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
</note>"
);
The XmlParser supports a variety of options, most notably it can suppress (i.e., not throw on) errors.
The main advantage is that AngleSharp.Xml is part of the AngleSharp ecosystem and integrates well, e.g., by allowing remove XML files to be loaded, interpreting SVG documents or XHTML. A major point is AngleSharp.Xml also contains parts of a DTD parser, which could be used to validate XML documents.
Finally, the integration of AngleSharp.Xml in AngleSharp means that not only HTML documents may refer or use XML freely, but also the other way round. This is therefore as close to XML in a browser as you may get in .NET.
Participation in the project is highly welcome. For this project the same rules as for the AngleSharp core project may be applied.
If you have any question, concern, or spot an issue then please report it before opening a pull request. An initial discussion is appreciated regardless of the nature of the problem.
Live discussions can take place in our Gitter chat, which supports using GitHub accounts.
This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community.
For more information see the .NET Foundation Code of Conduct.
This project is supported by the .NET Foundation.
The MIT License (MIT)
Copyright (c) 2020 - 2023 AngleSharp
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 is compatible. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 is compatible. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 was computed. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 was computed. |
| .NET Framework | net461 net461 is compatible. net462 net462 was computed. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 is compatible. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 4 NuGet packages that depend on AngleSharp.Xml:
| Package | Downloads |
|---|---|
|
invoisys.SDK.Xml
Package Description |
|
|
SimpleSvg2LineSegementInterpolater
Generate line segments though interpolating svg shapes. |
|
|
EPubBlazor
Package Description |
|
|
Scrape.NET
A scraper library for .NET |
Showing the top 4 popular GitHub repositories that depend on AngleSharp.Xml:
| Repository | Stars |
|---|---|
|
Jackett/Jackett
API Support for your favorite torrent trackers
|
|
|
Prowlarr/Prowlarr
Prowlarr is an indexer manager/proxy built on the popular *arr .net/reactjs base stack to integrate with your various PVR apps, supporting management of both Torrent Trackers and Usenet Indexers.
|
|
|
mganss/HtmlSanitizer
Cleans HTML to avoid XSS attacks
|
|
|
AngleSharp/AngleSharp.Js
:angel: Extends AngleSharp with a .NET-based JavaScript engine.
|
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 752,502 | 1/15/2023 |
| 1.0.0-beta.30 | 160 | 1/26/2025 |
| 1.0.0-beta.29 | 149 | 1/26/2025 |
| 1.0.0-beta.28 | 143 | 1/26/2025 |
| 1.0.0-beta.27 | 149 | 2/25/2024 |
| 1.0.0-alpha-20 | 755 | 1/15/2023 |
| 1.0.0-alpha-18 | 708 | 1/15/2023 |
| 0.17.0 | 761,274 | 5/31/2022 |
| 0.17.0-alpha-15 | 734 | 7/14/2022 |
| 0.17.0-alpha-13 | 806 | 5/31/2022 |
| 0.16.0 | 241,643 | 6/12/2021 |
| 0.16.0-alpha-8 | 1,002 | 6/12/2021 |
| 0.16.0-alpha-12 | 3,779 | 11/25/2021 |
| 0.15.0 | 143,241 | 4/22/2021 |
| 0.15.0-alpha-7 | 885 | 6/12/2021 |
| 0.15.0-alpha-6 | 880 | 6/12/2021 |
| 0.15.0-alpha-3 | 883 | 4/22/2021 |
| 0.14.0 | 126,619 | 3/31/2020 |
| 0.14.0-alpha-49 | 1,040 | 3/31/2020 |
| 0.14.0-alpha-1 | 882 | 4/22/2021 |