<. Hi David! .>

Sunday, May 9, 2004, 9:28:51 PM, you wrote:


DL> I am trying to do some dynamic aggregation, but without success so far.

DL> Unfortunately, <map:aggregate> doesn't do the trick for me simply because it
DL> requires that you first know what parts you want to aggregate. In my case, I
DL> don't know in advance what or how many components will be aggregated.

DL> I did some searching on the archives and found this:

DL> http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=107279968120084&w=2


DL> However, this seems a bit complicated.

DL> I also tried doing a kind of "forEach" for each of my components in the
DL> flowscript, but quickly realised that this doesn't work when I saw the error
DL> [1] below.


DL> Is there a simpler way to do dynamic aggregation?

I'm not sure if I understand you, but I think XInclude/CInclude transformer is
what you are looking for.

Try this links:
http://cocoon.apache.org/2.1/userdocs/transformers/xinclude-transformer.html
http://cocoon.apache.org/2.1/userdocs/transformers/cinclude-transformer.html

-- 
Best regards
<. g[R]eK mailto:[EMAIL PROTECTED]                                    .>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to