• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Display XML tag using JSTL

 
jay lai
Ranch Hand
Posts: 180
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a file contain the whole xml file as a long string. I want to display to the browser in "readable" format of these nodes.

How do I do this? Many thanks to your help!

For example: file call file.xml , inside the file is the concatenate of all the xml tag together as a long string

I want to dispay on the browser as regular format xml tag like below:

[ April 17, 2007: Message edited by: Bear Bibeault ]
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64620
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You will need to write code to reformat the XML to your requirements.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic