This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft 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

Win a copy of Java 8 in Action this week in the Java 8 forum!
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: 805
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.
Similar Threads
abt xml
text files to XML
Updating the info from other sites to XML file
give XML and XSLT to view in HTML
Displaying HTML 4.0 in Swing application