File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
JavaRanch » Java Forums » Java » JSP
Bookmark "Display XML tag using JSTL" Watch "Display XML tag using JSTL" New topic
Author

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
Marshal

Joined: Jan 10, 2002
Posts: 60997
    
  65

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: http://aspose.com/file-tools
 
subject: Display XML tag using JSTL