aspose file tools
The moose likes JSP and the fly likes Display XML tag using JSTL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

JavaRanch » Java Forums » Java » JSP
Bookmark "Display XML tag using JSTL" Watch "Display XML tag using JSTL" New topic

Display XML tag using JSTL

jay lai
Ranch Hand

Joined: Apr 04, 2002
Posts: 180
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

Joined: Jan 10, 2002
Posts: 62101

You will need to write code to reformat the XML to your requirements.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Display XML tag using JSTL