Shalem wrote:
By using AjaxPro I am creating XML file with database data and saving
that created file in harddisk, but i have to show the content of that
XML in browser. How can I show the content by AjaxMethod which is
in .cs file or can we open and show the content of XML file by using
JScrip
JScript (in IE) can read XML using MSXML e.g.
var xmlDocument = new ActiveXObject('Msxml2.DOMDocument.3.0');
xmlDocument.onreadystatechange = function () {
if (xmlDocument.readyState == 4) {
alert(xmlDocument.xml);
}
};
xmlDocument.load('file.xml');
Cross browser your best bet to read XML is XMLHttpRequest.
--
Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/