I am trying to parse HTML on DNX (.NET Execution Environment), but I can't find way to do it. As I know DNX was made primary for cross platform web development, therefore there should be something?
Asked
Active
Viewed 1,057 times
0
-
[Don't use Regex to parse HTML](http://stackoverflow.com/a/1732454/1822514) – chue x Dec 04 '15 at 21:33
2 Answers
3
You can try to use HtmlAgilityPack for .NET Core. It's port HtmlAgilityPack library to .net core, which used to parsing html on full .Net Framework.

Stas Boyarincev
- 3,690
- 23
- 23
0
I have finally manage to find a way to parse HTML
documents. I have used
System.Xml.Linq.XDocument
class.
It is fully supported on DNX, here is doucmentation.

Matjaž
- 2,096
- 3
- 35
- 55
-
I guess your HTML will have to we well-formed XML in that case. No room for any errors, like
instead of
? – David De Sloovere Dec 27 '16 at 12:42