Library to generate .NET XmlDocument from HTML tag soup

一世执手 提交于 2019-12-06 05:36:02

The HTML Agility Pack is highly rated. It will certainly do the parsing / best guess etc.

The model is intentially similar to XmlDocument, including SelectNodes etc for querying.

If you need xhtml output, there is a OptionOutputAsXml flag; I assume that setting this to true and calling Save results in xhtml.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!