cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Larson <>
Subject Re: create a transformer that is a combinaison of transformers
Date Fri, 19 Sep 2003 17:38:59 GMT
--- Andrzej Jan Taramina <> wrote:
> Tim:
> > In the mean time, you can define a map:resource that contains your transforms.
> > Then you can call the resource where you wish to have the compound transform
> > performed. It gives you the same effect of modularity, just with a different
> > syntax.
> The only issue here is that <map:call> never returns (last I 
> nice if it had a parameter so that you could set return="true") it 
> limits the flexibility of this approach.  Once you call a map resource, your 
> flow of control in the main pipeline is terminated.  Any ideas on how to get 
> around that?

The documentation is confused on this issue, but resources *can* return when using
cocoon-2.1, as mentioned here:
Since the feature is part of the interpreted sitemap, you *might* even be able to do this
with cocoon-2.0 if you configure Cocoon to use the interpreted sitemap (TreeProcessor)
implementation.  Let me know if you need help with this.

This page documents the change:

Here are some examples you could follow:

--Tim Larson

Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

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

View raw message