Sadly, the code below doesn't work when I try to alter a node's inner html in the document:
HtmlNodeCollection sourceTables = _sourceDoc.DocumentNode.SelectNodes("//table"); sourceTables.InnerHtml = "lalala";
The inner html of the node changes correctly, however it doesn't impact the html document.
Additionally, since the node cannot be located, this strategy is ineffective:
This was a significant library flaw (http://htmlagilitypack.codeplex.com/workitem/32959). It has just recently been corrected, at least in the source code (the 1.4.6 version does not have it). You may recompile after running get latest.