This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes XML document inside HTML tag. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "XML document inside HTML tag." Watch "XML document inside HTML tag." New topic

XML document inside HTML tag.

Parameswaran Thangavel
Ranch Hand

Joined: Mar 01, 2005
Posts: 485
hi all
i need to display XML file returned by servlet, inside the HTML tag.

i.e ALong with other information displayed in a HTML page (say student information like name, year, std, marks etc) , i need to display the XML document. XML document should be in the same way it displays when we open any xml file using browser like expanding and collapsing features of the XML header.

Any pointers would help?

Rob Hunter
Ranch Hand

Joined: Apr 09, 2002
Posts: 832
I actually came in here to post basically the same thing but didn't care too much about the collapsing portion of the XML, just the display of the actual tags and breakdown is fine.

I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: XML document inside HTML tag.
jQuery in Action, 3rd edition