You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Stephen Ng <st...@verizon.net> on 2002/09/05 17:55:52 UTC

Xsltc and 2.0.3

Is it possible to plug xsltc into 2.0.3?

I tried substituting in sitemap.xmap:

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

and adding xsltc-20020723.jar to my lib directory, but it doesn't seem
to do anything (e.g. it doesn't complain if xsltc is missing, or if I
change TransformerFactoryImpl to FooBarImpl).

I thought about changing 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="false"/>
  </xslt-processor>

But I'm not sure what I'd put here.

Thanks,

Steve


---------------------------------------------------------------------
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:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: Xsltc and 2.0.3

Posted by Vadim Gritsenko <va...@verizon.net>.
Stephen Ng wrote:

>Is it possible to plug xsltc into 2.0.3?
>

Try following this:

http://xml.apache.org/cocoon/snippet/snippet-xslt-options.html

Vadim


>I tried substituting in sitemap.xmap:
>
>      <map:transformer name="xslt"
>src="org.apache.cocoon.transformation.TraxTransformer"
>                        logger="sitemap.transformer.xsltc"
>                        pool-max="32" pool-min="8" pool-grow="2">
>      <use-request-parameters>false</use-request-parameters>
>      <use-browser-capabilities-db>false</use-browser-capabilities-db>
>      <use-deli>false</use-deli>
> 
><transformer-factory>org.apache.xalan.xsltc.trax.TransformerFactoryImpl<
>/transformer-factory>
>    </map:transformer>
>
>and adding xsltc-20020723.jar to my lib directory, but it doesn't seem
>to do anything (e.g. it doesn't complain if xsltc is missing, or if I
>change TransformerFactoryImpl to FooBarImpl).
>
>I thought about changing 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="false"/>
>  </xslt-processor>
>
>But I'm not sure what I'd put here.
>
>Thanks,
>
>Steve
>  
>




---------------------------------------------------------------------
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:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>