You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Lionel Crine <cr...@4dconcept.fr> on 2003/09/08 16:21:01 UTC
Modify two file
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