I am using an IWebBrowser2 in an MFC application for a built in web browser. I have most everything going just fine.

My last hurdle has stumped me. I want to display RSS xml files like IE7 - a list of RSS items to click on etc.

IWebBrowser2 will display the RSS channel xml file like a normal xml file in IE, but I want to render the xml into HTML and load the DOM with it.

I cannot work out how to get the raw XML file after it is downloaded but before it is loaded into DOM. I've looked at the usual handlers - OnDocumentComplete, OnDownloadComplete etc - but the DOM is already loaded with IE default XML view HTML.

I am probable either missing something obvious or going about this the wrong way totally.

Can someone advise the best way to do this please