* [EMAIL PROTECTED]:
> <map:pipeline type="caching">
> <map:parameter name="expires" value="access plus 1 hours"/>
> <map:match pattern="Source/*/Etudiant/Pole/*/*.xml">
> <map:generate src="http://{1}/ThES_{2}.nsf/viewXML_et/{3}"/>
> <map:serialize type="xml"/>
> </map:match>
> </map:pipeline>
Bonjour,
Je pense que tu cherches plutôt à mettre en cache ce pipeline, il
faudra donc écrire:
<map:components>
<map:pipes default="caching">
<map:pipe name="expires-caching-hourly"
src="org.apache.cocoon.components.pipeline.ExpiresCachingProcessingPipeline">
<parameter name="cache-expires" value="3600" />
</map:pipe>
</map:pipes>
</map:components>
<map:pipeline type="expires-caching-hourly">
<map:match pattern="Source/*/Etudiant/Pole/*/*.xml">
<map:generate src="http://{1}/ThES_{2}.nsf/viewXML_et/{3}"/>
<map:serialize type="xml"/>
</map:match>
</map:pipeline>
--
Jean-Baptiste Quenot
Systèmes d'Information
ANYWARE TECHNOLOGIES
Tel : +33 (0)5 61 00 52 90
Fax : +33 (0)5 61 00 51 46
http://www.anyware-tech.com/
---------------------------------------------------------------------
Liste francophone Apache Cocoon -- http://cocoon.apache.org/fr/
Pour vous desinscrire : mailto:[EMAIL PROTECTED]
Autres commandes : mailto:[EMAIL PROTECTED]