I think Xalan has an evaluate() function that allows dynamic
constraction of an Xpath expression.

Hth,

Manos

> -----Original Message-----
> From: GB [mailto:[EMAIL PROTECTED]] 
> Sent: Thursday, July 18, 2002 3:26 PM
> To: [EMAIL PROTECTED]
> Subject: Modifying an xslt stylesheet before utilisation.
> 
> 
> Dear Cocoon readers !
> 
> I need to transform a xslt stylesheet before using it over an 
> xml file.
> 
> In fact, what I want to do is to modify the stylesheet so 
> that a parameter,
> taken out of the http request, could be used as an xpath 
> string inside an
> xsl:apply-templates' select attribute.
> 
> The problem is that it isn't allowed to do that inside the 
> xslt directly by
> using something like <xsl:apply-templates select="$value"/>
> 
> I thought of using XSP to replace the $value field by its 
> real value before
> using this stylesheet.
> 
> Well, I don't know  how to specify the use of the a 
> transformed xsl as a
> transfomer inside a sitemap.
> 
> Can you help me ???
> 
> Thanks a lot.
> 
> Guy Bobenrieth
> 
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 
> 

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to