cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tyson Nunemacher" <Tys...@bmgi.com>
Subject Re: Using XSLTC with Cocoon
Date Tue, 26 Nov 2002 15:48:20 GMT
> Can you post your map:transformer section for the XSTLC transformer?

Sure.  The Xalan and XSLTC transformers from my subsitemap:

<map:transformer name="xslt" logger="sitemap.transformer.xslt"
pool-grow="2" 
    pool-max="32" pool-min="8"
src="org.apache.cocoon.transformation.TraxTransformer">
  <use-request-parameters>true</use-request-parameters>
  <use-browser-capabilities-db>false</use-browser-capabilities-db>
  <use-deli>false</use-deli>
</map:transformer>
<map:transformer name="xslt-xsltc" logger="sitemap.transformer.xslt" 
    src="org.apache.cocoon.transformation.TraxTransformer" pool-max="32"

    pool-min="16" pool-grow="4">
  <use-request-parameters>true</use-request-parameters>
  <use-browser-capabilities-db>false</use-browser-capabilities-db>
 
<xslt-processor-role>org.apache.cocoon.components.xslt.XSLTProcessor/XSL
TC
  </xslt-processor-role>
</map:transformer>

And the corresponding declarations in my cocoon.xconf:

<xslt-processor
class="org.apache.cocoon.components.xslt.XSLTProcessorImpl" 
    logger="core.xslt-processor">
  <parameter name="use-store" value="true"/>
  <parameter name="incremental-processing" value="true"/>
</xslt-processor>
<xslt-processor
class="org.apache.cocoon.components.xslt.XSLTProcessorImpl" 
    logger="core.xslt-processor"     
    role="org.apache.cocoon.components.xslt.XSLTProcessor/XSLTC">
  <parameter name="use-store" value="true"/>
  <parameter name="transformer-factory" 
    value="org.apache.xalan.xsltc.trax.TransformerFactoryImpl"/>
</xslt-processor>

The XSLTC pieces I grabbed from the Cocoon Wiki site.  I should have
mentioned that I'm using JDK 1.3.1_04.

-Tyson

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.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