Is it not possible to define a resource which includes these 3 transformers?
http://cocoon.apache.org/2.1/userdocs/concepts/sitemap.html <map:resources> <map:resource name="chainedTransformer"> <map:transform type="myTransformer1"/> <map:transform type="myTransformer2"/> <map:transform type="myTransformer3"/> </map:resource> </map:resources> And just call this chainedTransformer? Robby -----Original Message----- From: Luca Morandini [mailto:[email protected]] Sent: Friday, June 11, 2010 1:36 AM To: [email protected] Subject: Re: Aggregated Transformer On 10/06/10 11:19, Ali Mahdoui wrote: > Hi, > The answer to my question is sure simple but i dont find out how i ca do it. > i am writing a cocoon block that has three sax transformers which should > be always called after each other. > I there a possibility to aggregate these transformers in only one? this > will make the usage of my block with other cocoon blocks much easier. Not sure I understood this. If you put this transformation stages in a pipeline, then the pipeline contents are hidden from calling blocks... how having only one transformation stage can ease the usage ? Regards, -------------------- Luca Morandini www.lucamorandini.it -------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
