Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XML string parsing in javascript

 
N.Senthil Kumar
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Paul Clapham
Sheriff
Posts: 21149
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have a question about Javascript? We just happen to have a forum about Javascript. Moving...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic