On Mon, May 13, 2002 at 08:58:57AM +0200, Hahn Kurt (CHA) wrote:
> I feel like I'm missing an important point in Cocoon. I wanna combine
> different sources, so <map:aggregate> would be a means of doing that. But
> one of these sources is a query, which has to be processed through 2
> transformers first(resolve the variable and execute the query). But from
> what I understand, in <map:aggregate>, both sources have to be static files.
> Is that right?
no they don't
use cocoon:/ protocol to refer to another pipeline
example:
<map:match pattern="dynamic_content">
<map:generate type="serverpages" src="docs/script.xsp"/>
<map:transform src="first_stylesheet.xsl"/>
<map:transform src="second_stylesheet.xsl"/>
<map:serialize/>
</map:match>
<map:match pattern="aggregated_content">
<map:aggregate element="page">
<map:part src="cocoon:/dynamic_content"/>
<map:part src="static_content.xsl">
</map:aggregate>
<map:transform src="main_stylesheet.xsl"/>
</map:serialize>
</map:match>
Sorry for typos that may occur
ouzo
--
------------------------------------------------------ [EMAIL PROTECTED]
Leszek Gawron ICQ# 19681190
Software development & SE consulting Mobile +48 (608) 23 74 55
---------------------------------------------------------------------
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]>