Use action to get session attributes and return them to sitemap.
Right now there is no such action, but it is easy to write it.

Vadim

> -----Original Message-----
> From: logica [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 23, 2001 1:09 PM
> To: [EMAIL PROTECTED]
> Subject: Session Parameters in Stylesheets
> 
> 
> How do I access a session parameter from a stylesheet? I know how to get a
> request parameter:
> 
> 1. set 
> 
>     <use-request-parameters>true</use-request-parameters>
> 
> 
> 2. and use something like this in the stylesheet:
> 
>     <xsl:param name="messageid">0</xsl:param>
> ...
> 
>     <xsl:template match="mmsc:message[@id=$messageid]">
> ...
> 
> How can I do the same, but get session parameters instead?
> 
> 
> Thanks 
> 
> Mark Miller
> 
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.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/faqs.html>

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

Reply via email to