cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luca Morandini" <luca.morandi...@tin.it>
Subject RE: passing servlet parameters
Date Mon, 27 Jan 2003 22:56:58 GMT
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
              lmorandini@ieee.org
http://utenti.tripod.it/lmorandini/index.html
---------------------------------------------

-----Original Message-----
From: Jim Lynch [mailto:jlynch@avaltus.com]
Sent: Monday, January 27, 2003 11:38 PM
To: cocoon-users@xml.apache.org
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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message