cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hubert Holtz" <>
Subject requestURI contains no value
Date Thu, 15 May 2003 08:29:46 GMT
Hy all,

I need the whole request URL in my XSL and tried the following,using
this post from Joerg in the mail archive:

>This action already exists:
You only have to use it ;-)
><map:match pattern="test">
>  <map:generate src="anysrc"/>
>  <map:act type="reqparamaction">
>    <map:transform src="test.xsl">
>      <map:parameter name="reqUri" value="{requestURI}"/>
>    </map:transform>
>  </map:act>
>  <map:serialize/>
>This action must be declared in the <map:actions/> section of the
><map:components/> section at the top of the sitemap:
><map:action name="reqparamaction"

I've created a variable (   <xsl:variable name="currentURL"><xsl:value-of select="$request_uri"/></xsl:variable>
which should contain the value of the parameter in y XSL file (<xsl:param name="request_uri"/>)

<xsl:value-of select="$currentURL"/>

outputs no value, but why?

I'm using Cocoon 2.0.3 on Tomcat 4.1.

Any ideas?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message