This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "XML string parsing in javascript" Watch "XML string parsing in javascript" New topic
Author

XML string parsing in javascript

N.Senthil Kumar
Ranch Hand

Joined: Jul 07, 2009
Posts: 50
Hi,


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
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

You have a question about Javascript? We just happen to have a forum about Javascript. Moving...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: XML string parsing in javascript
 
Similar Threads
Problem using Microsoft.XMLDOM, getting status as 'undefined'
Java script code for mozilla fire fox Not able to Load the xml from servlet
Can't get parsing XML to work in JavaScript
XMLHtmlRequest return Undefine
Problem in Parsing XML String