>> I pass in a string equivalent of this XML file as input via Javascript?
Take a look at:
http://www.freewebs.com/instawares/temp3.htm
All the data is loaded in as a JavaScript array.
This way everything is "on-board", all in one HTML file, very clean.
View the source of this website.
The array that contains the data is named datLDVJ11URM
The data is loaded from the following:
eventSourceDataLDVJ11URM.loadJSON(datLDVJ11URM,'');
You have to page down about 80% in the source to see this.
Use .loadJSON(datLDVJ11URM,''); NOT .loadXML(datLDVJ11URM,'');
Make sure you escape out ALL the appropriate characters in your data, no quotes and so forth.
If you don't do this, you will end up with a big white box, having no clue what has gone wrong.
You don't want that, believe me.