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

Re: Multiple stylesheets

Subject: Re: Multiple stylesheets
From: Scott Ferguson <ferg@xxxxxxxxxx>
Date: Wed, 26 Jul 2000 17:22:39 -0700
scott ferguson
>From Ben C

>  This is what I am trying to get to work:

>  I have Resin server set up on a machine.  On it I have an XML and two XSL
> documents.  One of the XML documents turns it into HTML wich can then be
> viewed as a company web page.  On the web page I would like a link that
> takes that same XML document and the second XSL document (a stylesheet with
> the RTF format hard coded) and generates an RTF file dynamically.  Is this
> possible?  Could somone point me in the right direction if it is?

It's only available in the latest Resin 1.2 beta snapshot.  There's an example at:

  http://www.caucho.com/products/resin/examples/xsl/vary.xtp

That example is also in the beta snapshot.  The example uses XTP, but will also work as an XSL filter.

Basically, your dispatch servlet (or JSP), will set the "caucho.xsl.stylesheet" attribute of the servlet Request object.  The XSL processor will use that stylesheet instead of the default one.  That way you can vary the stylesheet based on anything you like in the request, e.g. a query parameter.

Scott Ferguson
Caucho Technology


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


Current Thread
  • Multiple stylesheets
    • Ben C. - Wed, 26 Jul 2000 16:09:41 GMT
      • <Possible follow-ups>
      • Scott Ferguson - Wed, 26 Jul 2000 17:22:39 -0700 <=
      • Ben C. - Thu, 27 Jul 2000 14:15:09 GMT

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.