cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Verdin <ver...@agrocampus-rennes.fr>
Subject Re: Installing Saxon
Date Tue, 12 Oct 2004 10:09:28 GMT
Many thanks for your answers, by the way !



Colin Paul Adams a écrit :

>>>>>>"David" == David Verdin <verdin@agrocampus-rennes.fr> writes:
>>>>>>            
>>>>>>
>
>    David> So, I read the cocoon Wiki about installing Saxon, but it
>    David> doesn't work.
>
>Which version of Saxon are you using?
>
>    David> Cocoon doesn't find my processor.
>
>    David> So :
>
>    David> 1- Do I have to make something special with the Saxon
>    David> archive I downloaded except copying the jar file in
>    David> lib/local ?
>
>No.
>
>    David> 2- Are the configuration informations in the Wiki still up
>    David> to date ?
>
>Probably not.
>Saxon 8 works fine for me. You have to edit cocoon.xconf:
>
>  <component logger="core.xslt-processor"
>             role="org.apache.excalibur.xml.xslt.XSLTProcessor/saxon"
>             class="org.apache.excalibur.xml.xslt.XSLTProcessorImpl">
>     <parameter name="use-store" value="true"/>
>     <parameter name="transformer-factory" value="net.sf.saxon.TransformerFactoryImpl"/>
>  </component>
>
> and then edit your sitemaps to use the saxon processor:
>
>  <map:transformers default="xslt-saxon">
>      <map:transformer name="xslt-saxon" pool-grow="2" pool-max="32" pool-min="8"
>		       src="org.apache.cocoon.transformation.TraxTransformer">
>	<use-request-parameters>false</use-request-parameters>
>	<use-browser-capabilities-db>false</use-browser-capabilities-db>
>	<xslt-processor-role>saxon</xslt-processor-role>
>      </map:transformer>
>  </map:transformers>
>
>
>  
>

-- 
************************************
David Verdin
GES / ENSAR - laboratoire d'informatique
65, rue de St Brieuc
CS 84 215
35 042 Rennes cedex
e-mail : verdin@lilas.roazhon.inra.fr
tél : 02 23 48 54 58
fax : 02 23 48 54 50
************************************


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


Mime
View raw message