Request will request files from within the same domain you are running the Script on.
So why it shouldn't work with a "local" xml file? What Mootools not have in it's core/more is some real XML Parser but you can use Request.HTML and access the DOM which has been discussed on another thread http://groups.google.com/group/mootools-users/browse_thread/thread/22a0975516acd747 So if you use Request.HTML and target it to a path beeing accessable from the Browser under the actual Domain you are working within (localhost/ or 127.0.0.1/) you should be able to retrieve the XML and access the DOM (not like if you would use JSON but it should work). On 11 Okt., 16:04, stratboy <[email protected]> wrote: > Hi! I've just found (and tested) that with jquery I can load and parse > an xml document locally. I mean, I can do it without publish the files > to a server. So, for example, I can make a local site to be burn on > and loaded from a cd-rom (and that's exaclty what in fact I've got to > do). I think this is not possible with mootools, since Request doesn't > work locally. Am I wrong? Hence, is there a way to do the same thing > as jquery?
