Need help in xml on Mozila browser

Hi all,

I m facing problem in geting xml on mozila browser. like , using “?ReadViewEntries” and now i wana filter some values or more professionally I wana get node’s value one by one . Same thing i m doing easly on IE. But i m not able to do this . Moreover I m not able to get the length of xml document return by

employees = xmlDoc.getElementsByTagName(“employee”);

alert(employees.length)

its showing always “0”.

where employess is second level entry in xml file .

my code is like tht :

due to length is coming “0” so its not going inside loop and always showing no entry found .

any idea will help me lot.

Subject: Need help in xml on Mozila browser

Mozilla doesn’t do data islands – in fact, nothing does except IE. Use an XMLHttpRequest object to get the XML document instead. (There are several cross-browser AJAX examples out there, including on this forum.)

Subject: RE: Need help in xml on Mozila browser

thnx stan as usual u send response.

if u donot mind will u send any example… Also i m trying on net .

thnx a lot again.

Rishi

Subject: RE: Need help in xml on Mozila browser

This example from Apple is a good start. Your document request would be a GET, and you can begin processing as soon as onreadystatechange detects a success:

http://developer.apple.com/internet/webcontent/xmlhttpreq.html

The XML document object will be the same as it is for your current code, and you can use the same methods against it. ONly the means of getting the document changes.