Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: Parsing an XML file with namespace [Thread Next] Re: Parsing an XML file with namespaceTo: NULL Date: 9/22/2008 4:02:00 AM On Sep 22, 12:12 pm, Martin Honnen <mahotr...@yahoo.de> wrote: > Well saying you use JavaScript does not tell us much. Which application > (e.g. which browser) provides the host environment? As javascript is client -side I can only assume that different browsers will be used to view the page. Differences between ECMAScript and JScript, W3C DOM and MS DOM etc. have to be dealt with within the javascript coding. Therefore my javascript applications are tested on all main browsers. You can visit some of them at http://members.chello.at/stephen.joung/indexMaps.html >If it is a browser which provides the host environment, is your script located on the same > server as the XML? Otherwise you will run into same origin policy > restrictions and might not be able to load the XML at all. I have downloaded the ECB XML file from the ECB page and uploaded it to my Webserver using PHP/cURL and CRON. Therefore the XML file is on the same server as the javascript and there is no problem with same origin policy. > Assuming you have a browser like Mozilla or Opera which support the W3C > DOM Level 2 Core you can use.... Thank you, I will try your suggestions tonight and let you know how I get on. Regards, Steve. | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
