cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony Collen <tcol...@neuagency.com>
Subject RE: request-param
Date Mon, 07 Apr 2003 07:42:00 GMT
On Mon, 7 Apr 2003, zze-MORY Nicolas FTRD/DMI/REN wrote:

<snip/>

> ok isn't possible to do this :
>
> <map:match pattern="anything.ext">
>    <map:generate src="documents/another.file"/>
>    <map:transform src="stylesheets/{request-param:generate}.xsl">
>    </map:transform>
>    <map:serialize/>
> </map:match>
>
> with this url acces : http://server.com/anything.ext?generate=transform3

yep! when in doubt, experiment :)   just be sure you want to trust
anything the user might send in the request parameter.

tony


--
Tony Collen
ICQ: 12410567
--
Cocoon: Internet Glue (A Cocoon Weblog)
http://manero.org/weblog/
--


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


Mime
View raw message