File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 agree. Here's the link:
subject: XML document inside HTML tag.
It's not a secret anymore!