[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Displaying xml with xsl and without?

Subject: Displaying xml with xsl and without?
From: "Diana Garroway" <dgarroway98@xxxxxxxxxxx>
Date: Fri, 24 Oct 2003 13:11:46 -0300
reportstyle.xsl
Hello,

The problem that I am trying to solve sounds simple, but after hours of searching, I have yet to find a solution. Here is what I have:

Report.xml --> output from a testing program.
ReportStyle.xsl --> Style sheet that nicely displays the data

Currently when the user clicks on Report.xml, it opens in their favorite web browser (everything is client side, no internet involved) with the nice ReportStyle.xsl ( by using the <?xml-stylesheet> tag within Report.xml ).

This is exactly the behavior I desire since it is OS/brower independent, completely on the client side and the client only needs to worry about a single output file (the Report.xml).

However here is my problem:

From within the Report.html page (generated by ReportStyle.xsl), I would
like to have a link to open Report.xml in a new page, but this time as straight xml (i.e. just ignore the <?xml-stylesheet> tag!!). I can put the path into Report.xml in a node, in itself, but I would rather not. Is there a sort of "view-source" for xml?

Thanks for any help you can give!

Diana

_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail



XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.