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

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

razor - Is this a bug in WebMatrix PageData? -

android - layout with fragment and framelayout replaced by another fragment and framelayout -