Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Parsing an XML file with namespace

From: Steve <stephen.joung@----------.--->
To: 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.


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent