Webbrowser & XML

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi,

I am using the WebBrowser control included with VS2005 to view XML files,
and they are being displayed correctly as far as I can tell.

The problem I am having is saving these XML files to disk.

If I try to save the contents of the WebBrowser.DocumentText to disk, the
resulting file contains HTML and script that I don't want. Is there any way
I can save the actual XML document to disk from the WebBrowser control?

Many thanks.

Lee.



.



Relevant Pages