c# - HtmlAgilityPack: Get whole HTML document as string -
does htmlagilitypack have ability return whole html markup htmldocument object string?
sure, can this:
htmldocument doc = new htmldocument(); // call 1 of doc.loadxxx() functions console.writeline(doc.documentnode.outerhtml);
outerhtml contains whole html.
Comments
Post a Comment