Aggregation problem!

2002-08-28 Thread Markus Alin
Hi All!! I have a matcher creating a XML result given a certain request parameter. Now I need to call this matcher X times with different request parameters and aggregate the output into one XML document. I don't know how many times this matcher will be called, or with which request parameters.

Re: Aggregation problem!

2002-08-28 Thread Nick Airey
The way I do this kind of thing is to write a pipeline generator which makes include statements. Then run a cinclude transformer to resolve the includes. ie. Generator 1 does some business logic and creates SAX like this: cinclude:include cocoon:/generator2?parm=x/ cinclude:include

Aggregation problem

2002-03-13 Thread Arnaud Vandyck
Hi all, I have these entries in a sub-sitemap: map:match pattern=autolayout.xml map:read src=docs2/autolayout.xml mime-type=text/xml/map:read map:serialize type=xml / /map:match map:match pattern=test.xml map:aggregate element=site

Re: Aggregation problem

2002-03-13 Thread KOZLOV Roman
Hi Arnaud, It is necessary to define element for each map:part also: map:part src=cocoon:/autolayout.xml element=uuu/ map:part src=cocoon:/coco.xml element=ooo/ Best regards. Roman Arnaud Vandyck wrote: Hi all, I have these entries in a sub-sitemap:

RE: Aggregation problem

2002-03-13 Thread Vadim Gritsenko
From: KOZLOV Roman [mailto:[EMAIL PROTECTED]] Hi Arnaud, It is necessary to define element for each map:part also: map:part src=cocoon:/autolayout.xml element=uuu/ map:part src=cocoon:/coco.xml element=ooo/ This is *not* necessary. Best regards. Roman

Aggregation solution [was Re: Aggregation problem]

2002-03-13 Thread Arnaud Vandyck
Vadim Gritsenko [EMAIL PROTECTED] wrote: From: KOZLOV Roman [mailto:[EMAIL PROTECTED]] Hi Arnaud, It is necessary to define element for each map:part also: map:part src=cocoon:/autolayout.xml element=uuu/ map:part src=cocoon:/coco.xml element=ooo/ This is

aggregation problem between xml and xsp

2002-03-08 Thread Niket Anand
Hi All, I am facing a problem on aggregation of xml and xsp page. It works fine if there is no xsp:logic tag in xsp. If I put it in Xsp and aggregating with xml file. It doesnot show screen properly and also donot execute logic tag. Pls guide me for the same asap. Thanks, Niket

Re: aggregation problem between xml and xsp

2002-03-08 Thread Tim Myers
you generate before you aggregate, right? map:match pattern=*.frag map:generate src={1}.xsp type=serverpages/ map:transform src=page2html.xsl map:serialize/ /map:match map:match pattern=*.xsp map:aggregate map:part src=cocoon:/{1}.frag/ map:part src=anotherxmlfile.xml/ /map:aggregate