cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carmona Perez, David" <DPerez...@fcc.es>
Subject RE: distinguish two pipelines
Date Wed, 23 Apr 2003 15:04:43 GMT
Lionel,

I don't you create a resource and call it with parameters?

<map:call resource="myresource">
	<map:param name="input"  value="session"/>
	<map:param name="outputFormat"  value="xml"/>
</map:call>

------------------------------------------------------

David

-----Mensaje original-----
De: Lionel Crine [mailto:crine@4dconcept.fr]
Enviado el: miércoles, 23 de abril de 2003 17:02
Para: cocoon-users@xml.apache.org
Asunto: distinguish two pipelines

Hello,

I've these two pipelines and I want to merge them (doing only one).

         <map:match pattern="search">
           <map:generate type="Request"/>
           <map:transform type="Query">
               <map:parameter name="interval" value="20"/>
           </map:transform>
           <map:transform type="xslt" src="xsl/documents.xsl">
               <map:parameter name="interval" value="20"/>
           </map:transform>
          <map:serialize type="html"/>
         </map:match>


         <map:match pattern="search2">
           <map:generate type="Session"/>
           <map:transform type="Query">
              <map:parameter name="interval" value="20"/>
           </map:transform>
           <map:transform type="xslt" src="xsl/documents.xsl">
                <map:parameter name="interval" value="20"/>
           </map:transform>
           <map:serialize/>
         </map:match>

Thanks.
Lionel

Lionel CRINE
Société : 4DConcept
22 rue Etienne de Jouy 78353 JOUY EN JOSAS
Tel : 01.34.58.70.70 Fax : 01.39.58.70.70


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

---------------------------------------------------------------------
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