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

Re: dyn:evaluate question

Subject: Re: dyn:evaluate question
From: Thorsten Scherler <thorsten@xxxxxxxxxx>
Date: Wed, 23 Mar 2005 14:51:42 +0100
Re:  dyn:evaluate question
On Wed, 2005-03-23 at 15:33 +0200, Emmanouil Batsis wrote:
> Thorsten Scherler wrote:
> 
> >>The href attribute is not an attribute-value-template, so you can't do
> >>this.
> >>You could generate the stylesheet from another stylesheet, though.
> >>    
> >>
> >
> >Hmm, but the problem is that I HAVE TO pass on some stage the $variable
> >to the include call.
> >
> 
> Just come up with a new stage before the transformation in your pipeline 
> to set the href accordingly in the XSLT (you are using cocoon right?).
> 

Apache Forrest to be more specific (but is based on cocoon). ;-)

Ok, I can use something like 
  <xsl:template match="/">
    <alias:stylesheet version="1.0">
     <alias:include href="cocoon:/prepare.include.{$request}"/>
    </alias:stylesheet>
  </xsl:template>

But how can I then use it in the next stage of the pipe?

salu2

> Manos
> 
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)

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.