Firecat1970
IS-IT--Management
Dear,
I am trying to pass an XML string to the PowerPrompt Script.
The following works perfect, and I get a new column Blue in the report.
var xx;
xx = Server.CreateObject("Microsoft.XMLDOM"
xx.loadXML("<RR><AA>Red</AA><AA>Blue</AA></RR>"
ss = xx.getElementsByTagName("AA".item(1).text;
GetReport().AddDataItem(ss, "[......]"
The following gives an Application error.
In an earlier HTML page, I have
<INPUT name="AnXMLString" value="<RR><AA>Red</AA><AA>Blue</AA></RR>"> inside a form.
var s, ss;
s = App.Variables("AnXMLString"
var xx;
xx = Server.CreateObject("Microsoft.XMLDOM"
xx.loadXML(s);
ss = xx.getElementsByTagName("AA".item(1).text;
GetReport().AddDataItem(ss, "[......]"
I also trying s = new String(App.Variables("AnXMLString"); and no luck.
Please help me. It will be a whole lot easier if I can pass in an XML string.
I am trying to pass an XML string to the PowerPrompt Script.
The following works perfect, and I get a new column Blue in the report.
var xx;
xx = Server.CreateObject("Microsoft.XMLDOM"
xx.loadXML("<RR><AA>Red</AA><AA>Blue</AA></RR>"
ss = xx.getElementsByTagName("AA".item(1).text;
GetReport().AddDataItem(ss, "[......]"
The following gives an Application error.
In an earlier HTML page, I have
<INPUT name="AnXMLString" value="<RR><AA>Red</AA><AA>Blue</AA></RR>"> inside a form.
var s, ss;
s = App.Variables("AnXMLString"
var xx;
xx = Server.CreateObject("Microsoft.XMLDOM"
xx.loadXML(s);
ss = xx.getElementsByTagName("AA".item(1).text;
GetReport().AddDataItem(ss, "[......]"
I also trying s = new String(App.Variables("AnXMLString"); and no luck.
Please help me. It will be a whole lot easier if I can pass in an XML string.