cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject Re: some aggregation questions
Date Mon, 07 May 2001 16:33:21 GMT
On Mon, 7 May 2001, Torsten Curdt wrote:

> > > 2. I remember having some trouble putting the map:generate etc inside
> > >    the map:part elmenent ommitting the src attribute. But this should
> > >    work, shouldn't it?! (Maybe I had trouble because of the sub sitemap)
> >
> > There aren't any element inside a map:parm element:
> >
> >    <map:aggregate ...>
> >      <map:part .../>
> >      <map:part .../>
> >    </map:aggregate>
>
> Yes... but I'd like to put elements there...
>
>     <map:aggregate ...>
>       <map:part ... >
>          <map:generate .../>
>          <map:transform .../>
>       </map:part>
>       <map:part ... >
>          <map:generate .../>
>          <map:transform .../>
>       </map:part>
>       <map:transform .../>
>       <map:serialize/>
>     </map:aggregate>

you can achieve the same results by putting each of the generate/transform
blocks in their own 'named' pipeline - but i agree, doing it this way
would be handy sometimes. it doesn't break any seperation of concerns that
i can see, just an alternate syntax.

- donald


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


Mime
View raw message