cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luca Morandini <lmorand...@ieee.org>
Subject Re: Getting the request query parameters in the XML
Date Thu, 27 Mar 2008 13:21:01 GMT
Kjetil Kjernsmo wrote:
> 
> I need to access the query parameters from a GET request in my XSLT, and I 
> have thought of several ways to do this, but all seems cumbersome, so I'm 
> supposing I've lost something trivial.

If you set use-request-parameters to true all in the transformer 
definition, XSLT would have access to said parameters.

Look at: 
http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/transformation/TraxTransformer.html
for details.

Regards,

P.S.
I prefer the explicit passing of parameters from the sitemap to the XSLT 
via map:parameter, but if you want something quick&dirty...

--------------------
    Luca Morandini
www.lucamorandini.it
--------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message