[JavaScript] Reading in external XML file
I'm reading an XML file using XMLHttpRequest and the IE equivilent. That's fine when it's on the same domain as the web page, but is there anyway of getting one from somewhere else??
my site is http://georgeduckett.blogspot.com
the xml file i want is http://georgesjunkpics.blogspot.com
Re: [JavaScript] Reading in external XML file
I recall reading that it must be from the same domain.
Also that it interprets www.domain.com differently from domain.com.
If I find the reference, I'll edit this post.
Maybe you can have the page call a local script which calls the remote xml resource.
EDIT: Okay, here are some references
http://developer.mozilla.org/en/docs...etting_Started
But this one says it is only on by default
http://jibbering.com/2002/4/httprequest.html
Quote:
By default the object can only call back to the same server, in a reduced security environment (accessed from file:// say) IE can access any domain, Mozilla can also do that if you request and are granted the appropriate permissions see "a google thread I can't get to offline!"
Re: [JavaScript] Reading in external XML file
Thanks for the post, that was what i thought. :(