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 to HTML using 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 to HTML using JavaScript" Watch "XML to HTML using JavaScript" New topic
Author

XML to HTML using JavaScript

Vinutha Jagadish
Greenhorn

Joined: Nov 20, 2009
Posts: 18

Hi,

Ho to convert XML to HTML using JavaScript.

Thanks,
Jagadish.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
You mean through Ajax [XMLHttpRequest Object]? More details means better answers.

Eric
Vinutha Jagadish
Greenhorn

Joined: Nov 20, 2009
Posts: 18
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

Joined: Nov 08, 2001
Posts: 15376
    
    6
Use Ajax, use responseXML, loop through it and make the HTML needed.

Eric
 
wood burning stoves
 
subject: XML to HTML using JavaScript
 
Similar Threads
Converting an XML document to HTML using Javascript and HTML
drop down menus
XML and JavaScript?
javascript
Converting XML to HTML Using JavaScript and HTML