摘要: Html Agility Pack/SgmlReader 解析htmlHtmlDocument htmlDoc = new HtmlDocument();//输出成xml格式htmlDoc.OptionOutputAsXml = true;/ 加载html内容htmlDoc.LoadHtml(@" dafd "); // 将输出结果保存到字符串流中 StringBuilder sbXml = new StringBuilder(); StringWriter sw = new StringWriter(sbXml); ... 阅读全文
posted @ 2014-02-19 10:45 汉城 阅读(375) 评论(0) 推荐(0) 编辑