cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gogliostro <>
Subject [Cocoon2.2] Problem by using the use-request-parameters
Date Mon, 03 Sep 2007 15:58:27 GMT

Hi everyone,

I'm using Cocoon 2.2 and I try to access my http request parameters in my
xslt stylesheet.

The request  :

The sitemap :

    <map:match pattern="testImport">
        <map:generate src="myFile.xml" />
        <map:transform type="xslt" src="transform/test.xslt">
            <map:parameter name="use-request-parameters" value="true" />
        <map:serialize type="xml"/>

The stylesheet :

   <?xml version="1.0" encoding="UTF-8"?>
   <xsl:stylesheet version="2.0"
       <xsl:template match="/">
           <xsl:value-of select="$provider" />

When I execute the pipeline I got a pretty 
javax.xml.transform.TransformerException: Impossible de trouver la variable
portant le nom provider.
It's in french (because I'm ;-)) and it can be translated with: "Cannot find
the variable named provider"

Has anyone some clues?

Thank You

Joël Defante
View this message in context:
Sent from the Cocoon - Users mailing list archive at

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

View raw message