cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From christianm...@bluewin.ch
Subject Re: map:aggregate / map:part does only work with XML files?
Date Mon, 01 Sep 2003 10:45:08 GMT
Well, I will try that!! Thanks a lot..
But this looks to me like a workaround ;-), any plans to enhance the aggregate
feature?

Rgds,
Chris

>-- Original-Nachricht --
>Reply-To: users@cocoon.apache.org
>Date: Mon, 1 Sep 2003 11:53:47 +0200
>Subject: Re: map:aggregate / map:part does only work with XML files?
>From: Bertrand Delacretaz <bdelacretaz@codeconsult.ch>
>To: users@cocoon.apache.org
>
>
>Le Lundi, 1 sep 2003, à 10:12 Europe/Zurich, christianmenz@bluewin.ch a

>écrit :
>>
>> <map:aggregate element="root">
>> <map:generate type="atlasextract">
>> ...some map parameters..
>> </map:generate>
>
>You cannot do that directly, you have to use the cocoon: protocol:
>
>First create a map:match for your Generator
>
><map:match pattern="atlas">
>   <map:generate type="atlasextract"/>
>   <map:serialize type="xml"/>
></map:match>
>
>Then you can use
>
><map:aggregate element="root">
>   <map:part src="cocoon:/atlas"/>
>
>See also http://wiki.cocoondev.org/Wiki.jsp?page=CocoonProtocolExample
>
>--
>   Bertrand Delacretaz
>   independent consultant, Lausanne, Switzerland
>   http://cvs.apache.org/~bdelacretaz/
>
>
>---------------------------------------------------------------------
>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