hi 

you have to reference the param with a $. In your case 

     <xsl:value-of select="$param">

ciao Lars

> -----Ursprüngliche Nachricht-----
> Von: Lenya L. Khachaturov [mailto:[EMAIL PROTECTED]]
> Gesendet: Mittwoch, 18. Dezember 2002 15:15
> An: [EMAIL PROTECTED]
> Betreff: Passing request parameters - and making use of them 
> in the XSL
> 
> 
> Hello,
> 
> It seems like everybody knows how to do this, at least the 
> docs mention
> this so briefly, that it must be dead simple. Anyway, I 
> didn't get it :-)
> Please help me on this:
> 
> <map:match pattern="archives/**">
> ...
> <map:transform src="my.xsl" type="xslt">
>   <map:parameter name="param" value="{1}">
> </map:transform>
> ...
> </map:match>
> 
> Now, when I point the browser to http://mysite/archives/december,
> the parameter named "param" with the "december" value should 
> be passed to
> the stylesheet. In the stylesheet I have: <xsl:param name="param" /> 
> As far as I understood, <xsl:value-of select="param"> should print
> "december" - right? Well, it doesn't. What am I doing wrong?
> 
> -- 
> Lenya Khachaturov
> mailto:[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]>
> 

---------------------------------------------------------------------
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