hi everybody,
I'm using cocoon version 2.1.
I would like to use map:aggreagte to aggregate two XML documents from different sources. I hae written a custom generator and I would like to use it in the map:part element.
unfortunately this does not work!
in the generator element I use it like this and it works fine:
<map:generate type="atlasextract"> ...some map parameters.. </map:generate>
in the aggregate element i would like to use it as follows:
<map:aggregate element="root"> <map:generate type="atlasextract"> ...some map parameters.. </map:generate>
<map:generate type="atlasextract"> ...some map parameters.. </map:generate>
</map:aggregate>
is there a way to achieve this or does it only work with XML files?!
do: <map:match pattern="atlasextract.xml"> <map:generate ..../> <map:serialize type="xml"/> </map:match>
then: <map:aggregate element="root"> <map:part src="cocoon:/atlasextract.xml"/> ...
You might want to put the 'atlasextract.xml' into a <map:pipeline internal-only="yes"> pipeline.
Regards, Upayavira
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
