cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Lundquist ...@wrinkledog.com>
Subject Re: <map:aggregate> question
Date Thu, 15 Jan 2004 00:56:19 GMT

On Jan 14, 2004, at 4:00 PM, Joerg Heinicke wrote:

> On 15.01.2004 00:38, Mark Lundquist wrote:
>
>>> Suppose I have <map:aggregeate> inside a matcher... can I use
>>> <map:aggregate> again in a nested matcher to aggregate additional 
>>> stuff
>>> up into the stream?
>>> Yes
>> Thanks a lot, but... hmmm, then when I tried it I got:
>>     Generator already set. You can only select one Generator 
>> (<aggregator>)
>
> How does your sitemap look like?
>

Hi, Joerg... it looks just exactly like this:

         <map:match pattern="*/foo">
           <map:aggregate element="foo">
             <map:part src="foo.xml" />
           </map:aggregate>
           <map:match pattern="bar/foo">
             <map:aggregate element="bar">
               <map:part src="bar.xml" />
             </map:aggregate>
           </map:match>
         </map:match>

~ML


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


Mime
View raw message