File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: XML to HTML using JavaScript
 
Similar Threads
XML and JavaScript?
javascript
drop down menus
Converting XML to HTML Using JavaScript and HTML
Converting an XML document to HTML using Javascript and HTML