This project has moved and is read-only. For the latest updates, please go here.

Problem with ReplaceChild

Topics: User Forum
Mar 31, 2010 at 7:45 PM


I've an html-page and have to replace an table after FORM with other html-code.






I've tried it with:

oMainHtmlRootNode.ReplaceChild(oNewMailHtmlNode, oMainHtmlRootNode.SelectSingleNode("//form//following-sibling::table"))

This raises an Exception: Node "...." was not found in the collection ....

What ist wrong and how can I do it?



Christoph Schmid