File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes XML string parsing in javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "XML string parsing in javascript" Watch "XML string parsing in javascript" New topic

XML string parsing in javascript

N.Senthil Kumar
Ranch Hand

Joined: Jul 07, 2009
Posts: 50

I really cant find what i did wrong with this.

the response xml String is like this.

and in Javascript :

from xmlDoc i tried to parse the xml,

Say for eg : alert(xmlDoc.getElementsByTagName("Response").length); returns 0.

please help me to parse this response XML String in Javascript.

thanks in advance.

N.Senthil Kumar
Paul Clapham

Joined: Oct 14, 2005
Posts: 19847

You have a question about Javascript? We just happen to have a forum about Javascript. Moving...
I agree. Here's the link:
subject: XML string parsing in javascript
It's not a secret anymore!