File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XML document inside HTML tag.

 
Parameswaran Thangavel
Ranch Hand
Posts: 485
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

Thanks.
 
Rob Hunter
Ranch Hand
Posts: 832
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Rob
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic