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

Popular posts from this blog

razor - Is this a bug in WebMatrix PageData? -

c# - How to set Z index when using WPF DrawingContext? -

visual c++ - Using relative values in array sorting ( asm ) -