You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Michael Bierenfeld <mi...@atmiralis.de> on 2000/05/29 10:16:28 UTC

Re: xsp:expr in a xsl:for-each select ?????

KERSTIN.REINKING@LHSYSTEMS.COM wrote:
> 
> Hi,
> 
> I need a dynamically generated linkbar, dynamically generated according to
> the RemoteUser.
> So, I need something like this:
> 
> <xsl:for-each
> select="access[@access='<xsp:expr>normalize(request.getRemoteUser())</xsp:ex
> pr>']">
>         <xsl:apply-templates/>
> </xsl:template>
> 
> How can I get this work?
> 
> Thanks for your help,
> Kerstin Reinking
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org


Hello,

I had a similar Problem a couple of days ago. This has to be done in java. Have a look at the Mailing List Archive. I have posted a solution that might help you (Subject : SOLVED Re: Assigning
<xsp:expr> to <xsl:variable>)

Regards

Michael