harleychick
Programmer
I am working on an HTML page that runs JavaScript to retrieve XML data. This data will need to be read by a .Net program for processing and automated alerts. I have code that gets the results from a XML request. I can display the results back on the webpage using the document.write command. If I read the HTML results from my .Net program, it reads the script and not the data posted back.
When the webpage is opened, I really need to save the results to a file or post them back to the calling webpage as HTML so that another program can read the HTML page source code to find the data it needs to send out automated alerts. Any ideas??
Below is the code I have:
When the webpage is opened, I really need to save the results to a file or post them back to the calling webpage as HTML so that another program can read the HTML page source code to find the data it needs to send out automated alerts. Any ideas??
Below is the code I have:
Code:
xmlRequest.send(soapBody);
xmlDoc.loadXML(xmlRequest.responseText);
var token2;
var node = xmlDoc.selectSingleNode("//GetRTPPricesResponse/GetRTPPricesResult");
if ( node != null ) {
token2 = node.text;
}
document.write(token2);