摘要:
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); ... 阅读全文