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.
精彩评论