From: Marnus V. <mar...@gm...> - 2008-08-20 22:21:11
Hi,
I've downloaded the website and is looking at the "Classic DOM Sample
Application for Modern Browsers" page. I'm very new to XML and even
JavaScript but I can make my way around. How can I change this example to
get the data from a XML file that lies on the server? (not hard coded in the
HTML page).
Any help would be appreciated
Thanks again,
Marnus
From: Dmitry K. <dmi...@ya...> - 2008-08-20 22:42:53
Hi Marnus,
> I've downloaded the website and is looking at the
> "Classic DOM Sample Application for Modern Browsers" page.
> I'm very new to XML and even JavaScript but I can make my
> way around. How can I change this example to
> get the data from a XML file that lies on the server? (not
> hard coded in the HTML page).
In the "jsTools" subfolder you'll find a ".js" file. It contains the
"xmlIOLoadLocalData" function that can load an XML file from your server.
Please see "xmlLoadLocalData" sample from "toolSamples" subfolder on how
it works.
Regards,
Dmitry Khudorozhkov.