摘要:
HtmlAgilityPack是.net下使用xPath来解析html的类库,可以方便的做html的页面分析处理 项目地址: http://htmlagilitypack.codeplex.com/#####使用方式 HtmlDocument html = new HtmlDocument();//创建htmldocument对象 html.LoadHtml(html);//加载html页面内容 html为string HtmlNode htmlnode = html.DocumentNode; //获取当前页面的节点 HtmlNodeCollection nodea = htmlnode.S 阅读全文
posted @ 2014-03-19 14:55
张巍的博客
阅读(354)
评论(0)
推荐(0)

浙公网安备 33010602011771号