You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Francesco Mondora <fr...@makkina.com> on 2002/08/13 22:00:25 UTC

problem in aggregating

Ciao,
it is all the day I'm trying to build a matcher that aggregate two 
resources, one an html page and the other an xsp generated page.
Does someone have a sample?


Thanks
Francesco Mondora


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: problem in aggregating

Posted by Joerg Heinicke <jo...@gmx.de>.
(If you ask such questions on the cocoon-users list, you will get answers 
with higher probability.)

What exactly do you want to do or what have you tested until now?

A simple example:

<map:match pattern="test.html">
   <map:generate type="html" src="test.html"/>
   <map:serialize type="xml"/>
</map:match>

<map:match pattern="test.xsp">
   <map:generate type="serverpages" src="test.xsp"/>
   <map:serialize type="xml"/>
</map:match>

<map:match pattern="test">
   <map:aggregate element="test">
     <map:part src="cocoon:/test.html"/>
     <map:part src="cocoon:/test.xsp"/>
   </map:aggregate>
   <map:serialize type="xml"/>
</map:match>

Regards,

Joerg

Francesco Mondora wrote:
> Ciao,
> it is all the day I'm trying to build a matcher that aggregate two 
> resources, one an html page and the other an xsp generated page.
> Does someone have a sample?
> 
> 
> Thanks
> Francesco Mondora


-- 

System Development
VIRBUS AG
Fon  +49(0)341-979-7419
Fax  +49(0)341-979-7409
joerg.heinicke@virbus.de
www.virbus.de


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org