This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes XML display in browser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "XML display in browser" Watch "XML display in browser" New topic
Author

XML display in browser

Tom Katz
Ranch Hand

Joined: Aug 19, 2002
Posts: 169
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

Joined: Jan 27, 2004
Posts: 71
Since you mentioned quick and dirty, you may try to explore the idea
using frames.

--Nimchi
 
 
subject: XML display in browser
 
Similar Threads
Passing HTML string/stream to Browser
Displaying a JOptionPane in the stop method?
display view as Tree Structure
abt xml
XML and JSP (Weird!!)