[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Displaying xml with xsl and without?
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 wouldlike 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|