"Kurt Waldheim" <kurtwaldheim@gmx.at> schrieb:
> I want do download a XML file using the WebBrowser class. How can I
> prevent that the file is converted to HTML code using a stylesheet.
What's the reason for using WebBrowser to download the file? Maybe using
'HttpWebRequest' or 'WebClient.DownloadFile' is an option.

Signature
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
alec.yu@msa.hinet.net - 28 Jan 2006 05:14 GMT
Maybe in the case that a user clicks a hyperlink to a RSS news feed.
Sure we may intercept the navigation event, but it seems that there is
no way for us to determine whether a content pointed by a hyperlink
is actually html or not, and not every RSS news feed is of formal XML.
In this case, it seems that either we have to intercept the HTTP
protocol
handler, or we have to download an extra copy of the content before
navigation.