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.