This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan 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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 18121
    
    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
Can't get parsing XML to work in JavaScript
Problem in Parsing XML String
XMLHtmlRequest return Undefine
Problem using Microsoft.XMLDOM, getting status as 'undefined'
Java script code for mozilla fire fox Not able to Load the xml from servlet