Aggregator is generator also, and you can't have more then one in a pipeline.
Try this:
<map:match pattern="test">
<map:aggregate element="sum">
<map:part src="docs/login.xsp" />
<map:part src="docs/config.xml" element="userprofile"/>
</map:aggregate>
<map:transform src="stylesheets/site-html.xsl"/>
<map:serialize/>
</map:match>
Add/change/remove element="" attributes as you need.
Vadim
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mark
>Miller
> Sent: Friday, August 03, 2001 7:19 AM
> To: [EMAIL PROTECTED]
> Subject: Aggregation
>
>
>
> I would like to aggregate a file with the current pipeline. How do I do
> this?
>
> I am looking for something like this:
>
> <map:match pattern="test">
> <map:generate src="docs/login.xsp"/>
> <map:aggregate element="sum">
> <map:part src="docs/config.xml" element="userprofile"/>
> </map:aggregate>
> <map:transform src="stylesheets/site-html.xsl"/>
> <map:serialize/>
> </map:match>
>
> So the XML ouput from 'login.xsp' is aggregated with config.xml and the
> result is fed into the site-html.xsl?
>
> I can't seem to make it work, and I can't find examples.
>
> Thanks in advance
> Mark
>
>
> --
> Mark Miller
> Web Architect
> Logica
> 819-3646
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>