cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Curdt <>
Subject [C2] aggregation parameter
Date Tue, 08 May 2001 16:58:57 GMT
I'm trying to pass a parameter from
from the aggregating matcher into
the aggregated matcher.
Is this possible? I looked into the
stylesheet.xsl and it looks like
map:aggregate gets initialized as
all other sitemap components.
So is supposed to support parameters.
(I guess)
Unfortunately I don't know how
to reach them. {../varirable}
obviously doesn't work.

   <map:match pattern="index.xsp">
     <map:generate type="serverpages" src="index.xsp">
       <parameter name="test" value="{../media}"/>
     <map:serialize type="xml"/>

   <map:match pattern="something.html">
    <map:aggregate element="page" ns="">
     <parameter name="media" value="html"/>
     <map:part src="index.xsp" .../>
     <map:part src=... />

Any ideas?

Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message