cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bert Van Kets <>
Subject Re: Parameter passing with Cocoon
Date Tue, 14 May 2002 12:33:15 GMT
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}"/>

This will call the index.xml file and send the x, y and z parameters to the 

If you define the x, y and z parameters in your stylesheet, you can simply 
call them the regular xslt way.


At 03:17 14/05/2002 -0700, you wrote:
>Your second method
>still forces the designer to know parameters when he/she creates a
>link. But I think first method is useful.
>May you give me a tip about how to parse these parameters to use in
>XSL stylesheets? Can Cocoon do this for me or do I have to write
>codes for parsing parameters in my XSL?
>Do You Yahoo!?
>LAUNCH - Your Yahoo! Music Experience
>Please check that your question has not already been answered in the
>FAQ before posting. <>
>To unsubscribe, e-mail: <>
>For additional commands, e-mail: <>

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