• Post Reply Bookmark Topic Watch Topic
  • New Topic

Converting XML to HTML table

 
Andrew Black
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would like to get a JSP (or custom tag / class called from the JSP) to read some XML data from a server and display it as an HTML table.
I have quite a few different XML formats to display so I would like to avoid having to create too much code for each format.

I have tried using XSLT and am finding the solution is a litttle long winded. I cant help feeling it must be a wheel that has been invented before !

I would like to avoid any solution that sends the XML to a browser.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65522
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The JSTL XML tags might be what you are looking for if you'd like to avoid XSLT.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!