cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Curdt <tcu...@dff.st>
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:generate>
     <map:serialize type="xml"/>
   </map:match>

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

Any ideas?
--
Torsten


---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message