Jim,

you could just use the default matcher in the pipeline to this effect, like:

<map:match pattern="Chart/*/*/ch">
        <map:generate type="serverpages" src="xsp/{1}.xsp"/>
        <map:transform type="xslt" src="stylesheets/{2}.xsl"/>
        <map:transform type="chart"/>
        <map:serialize type="svg2jpeg"/>
</map:match>

Regards,

P.S.
No HTML messages, please.

---------------------------------------------
               Luca Morandini
               GIS Consultant
              [EMAIL PROTECTED]
http://utenti.tripod.it/lmorandini/index.html
---------------------------------------------

-----Original Message-----
From: Jim Lynch [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 27, 2003 11:38 PM
To: [EMAIL PROTECTED]
Subject: passing servlet parameters


I'm a newbie to cocoon...I'm trying to pass parameters to a pipeline to cocoon.  I 
want to be able to read these parameters to
locate the xsl and xml used in the transform.

for example:
http://test.com/cocoon/50/100

then, within my pipeline, grab the values 50 and 100.  Can I do this within cocoon??

thanks much Jim


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to