• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XML to HTML using JavaScript

 
Vinutha Jagadish
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi,

Ho to convert XML to HTML using JavaScript.

Thanks,
Jagadish.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You mean through Ajax [XMLHttpRequest Object]? More details means better answers.

Eric
 
Vinutha Jagadish
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Eric,

I have XML like below, i want to read this XML using JavaScript and i need to display in HTML page as a table with row and column.



Thanks,
Jagadish.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use Ajax, use responseXML, loop through it and make the HTML needed.

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic