开发者

Html Agility PacK vs Sharp Query?

I am writting a web application which will requi开发者_Go百科re me to purse html files.What I doing is quering for content included in a specific div with in a page. From my research online I came a cross HTML agility pack and Sharp Query. I would like to know which one is better?

ASP.NET MVC 2, .NET 3.5


Personally I prefer SharpQuery as it is based on SgmlReader. Also the CSS3 selectors are really nifty. On the other hand HTML Agility is more portable on platforms such as Silverlight, Windows Phone, ... so if you need this sort of interoperability you should probably choose HTML Agility Pack.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜