cocoon-users mailing list archives

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

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: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:redirect-to uri="cocoon:/error.xhtml" />
         <map:transform type="xslt" src="xsl/error.xsl">
         <map:serialize type="html">

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


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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message