View Full Version : Dynamically calling XML data

07-14-2010, 07:43 PM
I almost have the website finished, at least functionally (the complicated backend). It will arguably be one of the coolest history sites on the web.

But I am running into some technical problems, and want to ask you about them, as I am at a point where that is my only alternative.

First is in the website:

There is the line:

Timeline.loadXML("", function(xml, url) { eventSource.loadXML(xml, url); });

This is loading an XML data file into the time-line, and it works fine. The question is, why cant I dynamically load this data from a process, like:

Timeline.loadXML("", function(xml, url) { eventSource.loadXML(xml, url); });

It is returning the exact same thing, yet it dosent work.

Somebody suggested the following:


But that dosent seem to work either.

And can I do the same thing with a script tag, such as:

<script src="" type="text/javascript"></script>

Is this illegal?

Thanks in advance for looking at this.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum