What's the deal with Moz and loading XML files?
Let me clarify:
If I use
Code:
var s=document.implementation.createDocument("","",null);
s.load("something.xml");
and then do some stuff with the data within the XML document to output it as (X)HTML then why will Mozilla only show the data once after the XML file has been saved? In order to get it to display again (if I change the XHTML page to do something else and then reload to see my changes) I have to alter the XML document aswell. This seems weird. It strikes of a cache thingy, so possibly a no-cache meta tag would do the trick. but it doesn't.
So what's the options? Anyone know? Since it's being served from my computer, I could run a shell script to touch the file every five minutes or so, but the point of the exercise is to implement a blog script with only javascript and XML (rather than PHP and MySQL for example) for people without access to proper servers etc.
Anyhoo - it's a pain, and I'm hoping there's an obvious answer...
Thanks
p.s. I'm not sure if other browsers have this problem.