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

python - Why doesn't list have safe "get" method like dictionary? -

razor - Is this a bug in WebMatrix PageData? -

sql server - Stored procedure -