cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dperez <craquer...@yahoo.es>
Subject Re: Using xslt 2.0
Date Wed, 05 Dec 2007 09:43:27 GMT

See http://blog.reverycodes.com/archives/000034.html


Jeff Schmitz wrote:
> 
> Hello,
>    I'm trying to use the replace function from xslt 2.0, but I'm  
> getting the unknown function error.  I've tried to specify that cocoon  
> should use the saxon processor as shown below in my sitemap.  What  
> else do I need to do to point cocoon to use the saxon xslt 2.0  
> processor?
> 
>    <map:transformer logger="sitemap.transformer.xsltal" name="xsltal"  
> pool-max="8" src="org.apache.cocoon.transformation.TraxTransformer">
>      <default-src>resource://org/apache/cocoon/blocks/xsltal/resources/ 
> tal2xslt.xsl</default-src>
> 
>      <use-request-parameters>false</use-request-parameters>
>      <use-session-parameters>false</use-session-parameters>
>      <use-cookie-parameters>false</use-cookie-parameters>
>      <!-- Xalan -->
>      <!--transformer- 
> factory>org.apache.xalan.processor.TransformerFactoryImpl</transformer- 
> factory-->
>      <!-- XSLTC -->
>      <!--transformer- 
> factory>org.apache.xalan.xsltc.trax.TransformerFactoryImpl</ 
> transformer-factory-->
>      <!-- Old (6.5.2) Saxon: -->
>      <!--transformer-factory>com.icl.saxon.TransformerFactoryImpl</ 
> transformer-factory-->
>      <!--  New (7.x?) Saxon: -->
>      <transformer-factory>net.sf.saxon.TransformerFactoryImpl</ 
> transformer-factory>
>    </map:transformer>
> 
> Thanks,
> Jeff
> 

-- 
View this message in context: http://www.nabble.com/Using-xslt-2.0-tf4937830.html#a14168065
Sent from the Cocoon - Users mailing list archive at Nabble.com.


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


Mime
View raw message