bkanmani
03-24-2005, 05:40 AM
hi all,
i have created http request using newhttprequest() and the response is
objposter.responseText
this contains xml content like
<districts>
<district code =01 name=xxx>
</districts>
like tht
first i was usign this in ie browser i got result usign responseXml . so the contaent wil be in xml type and
objPoster = new ActiveXObject("MSXML2.XMLHTTP.3.0");
i fetched using objposter.responseXml.Selectnodes("districts/district")
but i doesnot works in mozilla and other browsers netscape.
so i have created this
i have read tht i have to create dom docuemnt
objDOM = document.implementation.createDocument("","", null);
now i want to knw how to load the xml request into the domdocuemnt and get the value stored in the nodes .
i tried xmldoc.load but it loads only xml files.
mine is a string
responseXml is not workign in mozilla and other browsers.
plz help me regardign this issue
i have created http request using newhttprequest() and the response is
objposter.responseText
this contains xml content like
<districts>
<district code =01 name=xxx>
</districts>
like tht
first i was usign this in ie browser i got result usign responseXml . so the contaent wil be in xml type and
objPoster = new ActiveXObject("MSXML2.XMLHTTP.3.0");
i fetched using objposter.responseXml.Selectnodes("districts/district")
but i doesnot works in mozilla and other browsers netscape.
so i have created this
i have read tht i have to create dom docuemnt
objDOM = document.implementation.createDocument("","", null);
now i want to knw how to load the xml request into the domdocuemnt and get the value stored in the nodes .
i tried xmldoc.load but it loads only xml files.
mine is a string
responseXml is not workign in mozilla and other browsers.
plz help me regardign this issue