Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

XML display in browser

 
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Since you mentioned quick and dirty, you may try to explore the idea
using frames.

--Nimchi
 
Oh. Hi guys! Look at this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic