Re: Original DOM of a XSLT'd XML
"r0wb0t" <[email protected]> 8 May 2006 08:58:01 -0700
| Newsgroups | gmane.comp.mozilla.devel.xml |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <[email protected]> |
Christian Biesinger wrote > What you could also do is use lower level necko APIs and set the > LOAD_ONLY_FROM_CACHE load flag. That ensures that the server won't be > contacted. Maybe you can also use that together with XMLHttpRequest > (after .open() and before .send(), do req.channel.loadFlags |= > Components.interfaces.nsICachingChannel.LOAD_ONLY_FROM_CACHE. but I'm > not sure whether this will work) FYI, this seems to work fine. Thanks! ....However, it turns out it's not really what I need. I'm looking for the XML source of every page that loads in the browser, not just the ones that get cached (it turns out alot of the ones I'm interested in have no-cache headers). It's a pity that XSLTs obliterate the original document like this. I'm still looking for another way to get at it.... Rowan