opifex;1043861 wrote:Neither javascript or AJAX can parse xml from a different domain for security reasons. You can import the xml to your domain and then parse it. This is easily done in php. You can either create a "proxy" (a nice example here) and parse it on the client side or you can retrieve the xml (and cache it if it is fairly static) and parse it on the server side. Lots of different php options for this route.
Yep, my stupidity is terminal. I wrote an AJAX script to load the XML from the other server. I came here this time to ask why the ***.readyState would not increase beyond the value of 1, and there was your answer as the last post.
Thanks opifex,
I am off to the realm of PHP. I'll get back on when I reach a block on that one. It will probably take my old slow mind a a few days to learn enough that I realize there is something else, simple as can be, that I am lacking in knowledge. I have learned a lot from the study of AJAX and DOM. Maybe even enough to parse this thing once I get it onto my server :p
EDIT:
Looked at the proxy routine. Nice but I think it unnecessary until I break down and try to write a tunnel proxy for my travels.
I can load the XML to my server, the content is fairly static, and can be reloaded when it happens to change (once every couple of months perhaps). Would opifex or someone else have a link to a PHP routine to cache XML from another server to my own?