cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robby Pelssers" <>
Subject RE: Aggregated Transformer
Date Fri, 11 Jun 2010 07:12:41 GMT
Is it not possible to define a resource which includes these 3 transformers?

  <map:resource name="chainedTransformer">
    <map:transform type="myTransformer1"/>
    <map:transform type="myTransformer2"/>
    <map:transform type="myTransformer3"/>

And just call this chainedTransformer?


-----Original Message-----
From: Luca Morandini [] 
Sent: Friday, June 11, 2010 1:36 AM
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 ?


    Luca Morandini

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

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

View raw message