https://github.com/clarius/html
Official docs site for https://github.com/devlooped/html
https://github.com/clarius/html
Last synced: 5 months ago
JSON representation
Official docs site for https://github.com/devlooped/html
- Host: GitHub
- URL: https://github.com/clarius/html
- Owner: clarius
- License: mit
- Created: 2022-07-13T05:27:39.000Z (about 4 years ago)
- Default Branch: gh-pages
- Last Pushed: 2022-07-14T19:27:53.000Z (about 4 years ago)
- Last Synced: 2026-02-27T09:27:25.113Z (5 months ago)
- Language: HTML
- Homepage:
- Size: 26.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- Changelog: changelog.html
- License: license.txt
- Code of conduct: code-of-conduct.html
- Security: security.html
Awesome Lists containing this project
README
 XLinq to Html
============
[](https://www.nuget.org/packages/Devlooped.Html)
[](https://www.nuget.org/packages/Devlooped.Html)
[](https://github.com/devlooped/html/blob/main/license.txt)
Read HTML as XML using XLinq.
# Usage
```csharp
using System.Xml.Linq;
using Devlooped.Html;
XDocument page = HtmlDocument.Load("page.html")
```
Works great when combined with [CSS selectors](https://www.nuget.org/packages/Devlooped.Xml.Css)
for XLinq.
Leverages [Microsoft SgmlReader](https://www.nuget.org/packages/Microsoft.Xml.SgmlReader) which
converts (almost) all HTML to valid XML.
# Dogfooding
[](https://pkg.kzu.io/index.json)
[](https://github.com/devlooped/html/actions)
We also produce CI packages from branches and pull requests so you can dogfood builds as quickly as they are produced.
The CI feed is `https://pkg.kzu.io/index.json`.
The versioning scheme for packages is:
- PR builds: *42.42.42-pr*`[NUMBER]`
- Branch builds: *42.42.42-*`[BRANCH]`.`[COMMITS]`
## Sponsors
[](https://github.com/sponsors/devlooped) [](https://github.com/clarius)[](https://github.com/clarius)
*[get mentioned here too](https://github.com/sponsors/devlooped)!*