Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XML display in browser

 
Tom Katz
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm implementing a quick/dirty way to display xml data from a web page. A button opens a new window and that window is a JSP that spits out xml data (and nothing else). This way the new window shows up with the formatted XML tree in the browser and looks good. BUT the problem is that I don't have a valid handle to this popup window to handle to use.

The problem seems to be that there's no HTML tags in the popup. As soon as I add those, the window handle is good, but I lose the xml formatting.

What I need to know is how to somehow invoke Internet Explorer's default XSL stylesheet to give me that tree that the user can expand/collapse, but have it happen within html tags so that the window handle is valid afterwards.

thanks in advance for any ideas,
Tom
 
Nimchi Yung
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since you mentioned quick and dirty, you may try to explore the idea
using frames.

--Nimchi
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic