Getting to XML source in IE7  
Author Message
Fippy





PostPosted: Internet Explorer Extension Development, Getting to XML source in IE7 Top

Hello All,
As part of an RSS reader feed project I use an IE extension to scan the page after loading to obtain the raw XML. Under IE6, once I received the page complete event I take an IHTMLDocument3 object, perform a get_documentElement() on it to obtain the root element and then perform a get_innerText() to get the raw text of the page. This worked great under IE6.

However under IE7 (running on XP or Vista), get_innerText() or get_innerHTML() return the stylesheeted version of the RSS feed, and therefore I receive the HTML rendered version of the RSS feed, not the raw XML itself. Ironically, if I do a view source in the browser, it displays the raw XML.

How do I get to the raw XML in IE7 Help greatly appreciated.
Thanks!
Graeme



Internet Explorer Development2  
 
 
Lars123321





PostPosted: Internet Explorer Extension Development, Getting to XML source in IE7 Top

No answers to this

How to access the source XML from a IE browser window Seems that through the DOM you can only get the garbled up syntax highlighted version as HTML... Booooo...

 
 
rajeevacharya





PostPosted: Internet Explorer Extension Development, Getting to XML source in IE7 Top

I am looking for the same information. Anyone

The result comes up as the first item during the search, but no results posted

http://search.live.com/results.aspx q=view+source+as+xml+in+IE7&src=IE-SearchBox

Thanks