Man, I thought I hit the jackpot with your script. I am using it to load public XML data from a government (NOAA) server. It works great on the desktop, and great on my Android phone. But it fails on iOs.
Have you tested on iOs? Am I doing something wrong, or is the script not compatible with iOs?
Here is my test page: http://tide.4cast.mobi/data_parse_test.html