你如何在 vb.net 中解析 HTML [英] How do you parse an HTML in vb.net

查看:43
本文介绍了你如何在 vb.net 中解析 HTML的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道在vb.net中是否有一种简单的方法来解析HTML.我知道 HTML 不是 XML 的严格子集,但如果可以这样处理它会很好.有什么东西可以让我在 VB.net 中以类似 XML 的方式解析 HTML?

I would like to know if there is a simple way to parse HTML in vb.net. I know that HTML is not sctrict subset of XML, but it would be nice if it could be treated that way. Is there anything out there that would let me parse HTML in an XML-like way in VB.net?

推荐答案

我喜欢 Html Agility pack - 它对开发人员非常友好,免费且源代码可用.

I like Html Agility pack - it's very developer friendly, free and source code is available.

这篇关于你如何在 vb.net 中解析 HTML的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆