cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lionel Crine <cr...@4dconcept.fr>
Subject Modify two file
Date Mon, 08 Sep 2003 14:21:01 GMT
Hi,

I'd like to modify three files almost at the same time with SAX.

I have thought that but but it's really not nice :

<map:pipeline>
      <map:match pattern="setmodule">
<!--  get a template and fill it  -->
       <map:act type="ModuleUpload">
         <map:parameter name="DTD" value="a DTD"/>

    <!-- get the "module" file -->
          <map:generate type="file" src="template" />
    <!-- modify the "module" file and the "build" file -->
          <map:transform type="modif_module"/>
    <!-- modify the correction file -->
          <map:transform type="modif_correction"/>
          <map:transform type="xslt" src="xsl/response.xsl">
          <map:serialize type="html" />
         </map:act>
         <map:redirect-to uri="cocoon:/error.xhtml" />
       </map:match>
       <map:handle-errors>
         <map:transform type="xslt" src="xsl/error.xsl">
         <map:serialize type="html">
       </map:handle-errors>
     </map:pipeline>


Can I have a pipeline which call other pipelines (ginving some parameters) ?
Is there some examples somewhere ?

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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message