I'm trying to load xml data from a separate page into a html page in powerprompts.
I can load a string like;
var xmlDoc = new ActiveXObject("Microsoft.XMLDOM" xmlDoc.loadXML("<employee><tag1>GREEN</tag1></employee>"
this works fine.
I would like to load xml data from a separate html page.
xmlDoc.loadXML("xmlFile.xml"
always comes back null.
xmlDoc.loadXML("<%Response.Write(App.Path)%>xmlFile.xml"
won't work either.
Eventually, I would like to build my xml data on the server side and read it on the client side, thus I could read a database quickly.
Can this be done?
Any help would be greatly appreciated.
I can load a string like;
var xmlDoc = new ActiveXObject("Microsoft.XMLDOM" xmlDoc.loadXML("<employee><tag1>GREEN</tag1></employee>"
this works fine.
I would like to load xml data from a separate html page.
xmlDoc.loadXML("xmlFile.xml"
always comes back null.
xmlDoc.loadXML("<%Response.Write(App.Path)%>xmlFile.xml"
won't work either.
Eventually, I would like to build my xml data on the server side and read it on the client side, thus I could read a database quickly.
Can this be done?
Any help would be greatly appreciated.