cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Klaus Bertram <k.bert...@kbsm.de>
Subject Re: [PROBLEM] caching after map:aggregate
Date Fri, 21 Feb 2003 19:03:46 GMT
excuse for bothering you

Vadim Gritsenko wrote:
> 
> If pipeline validity for given pipeline key has been changed, then whole 
> result will be recreated.
> 

do you mean like this:
<map:pipeline internal-only="true">
   <map:match pattern="body-*.xml">
     <map:generate src="spezification/docs/test.xml"/>
     <map:transform src="stylesheets/site2xhtml.xsl">
       <map:parameter name="use-request-parameters" value="true"/>
      </map:transform>
     <map:serialize type="xml"/>
   </map:match>
</map:pipline>

<map:pipeline>
   <map:match pattern="*.html">
     <map:aggregate element="site">
      <map:part src="cocoon:/book-{1}.xml"/>
      <map:part src="cocoon:/body-{1}.xml" label="content"/>
     </map:aggregate>
     <map:transform src="stylesheets/site2xhtml.xsl"/>
     <map:serialize/>
   </map:match>
</map:pipeline>

here are also the cached result are diplayed

Klaus


Mime
View raw message