cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robby Pelssers" <robby.pelss...@ciber.com>
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?

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:lmorandini@ieee.org] 
Sent: Friday, June 11, 2010 1:36 AM
To: users@cocoon.apache.org
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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message