SGML 解析器 .NET 建议

发布于 2024-07-27 19:29:51 字数 1539 浏览 10 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

风铃鹿 2024-08-03 19:29:51

显然 SgmlReader 已在这里更新:

https://github.com/MindTouch/SGMLReader

Apparently SgmlReader's updated here:

https://github.com/MindTouch/SGMLReader

江湖彼岸 2024-08-03 19:29:51

HTML 是 SGML 的一种实现。 如果你想正确解析 HTML,你将需要一个 SGML 解析器。 SGMLreader 似乎很好地满足了这些需求,我打算自己使用它。 我建议使用 HTML tidy。 它是一个本机应用程序,但它的 .net 绑定确实存在。 如果您需要完全托管的代码,那么 SGMLreader 就是您的最佳选择。

HTML is an implementation of SGML. If you want to parse HTML properly, you will need an SGML parser. SGMLreader appears to fit those needs well, and I plan to use it myself. I would suggest using HTML tidy. It is a native application, but .net bindings for it do exist. If you need entirely managed code, then the SGMLreader is the way to go.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文