cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex McLintock <>
Subject Re: Parameter passing with Cocoon
Date Tue, 14 May 2002 12:54:01 GMT
At 13:33 14/05/2002, you wrote:
>Change that to and you can use a 
>pipeline matcher like this:
><map:match pattern="/*/*/*/*.html">
>   <map:generate src="/docs/{4}.xml"/>
>   <map:transform src="/styles/yourtransfomer.xsl">
>     <map:parameter name="x" value="{1}"/>
>     <map:parameter name="y" value="{2}"/>
>     <map:parameter name="z" value="{3}"/>
>   </map:transform>
>   <map:serialize/>

I try to do this already but since I am generating the hyperlinks from 
other Cocoon pages generated through XSLT I am having trouble with 
parameters which have funny characters in them. (spaces, slashes, plus 
sign, etc). I assume I need to do URL encoding of the parameter before 
putting it into the URL, but I can't see how to do this with XSLT. Can 
anyone point me to an explanation?



Openweb Analysts Ltd, London: Software For Complex Websites
Free Consultancy for London Companies thinking of Open Source Software.

Please check that your question has not already been answered in the
FAQ before posting. <>

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

View raw message