cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <vadim.gritse...@verizon.net>
Subject Re: default xsl transformer?
Date Tue, 03 Sep 2002 13:29:19 GMT
Enke, Michael wrote:

>Hi,
>I'm wondering what is the xsl-transformer used by current sitemap.xmap?
>I found there:
>
>    <!-- NOTE: This used to be the default XSLT processor. The default now is XSLTC
-->
>    <map:transformer logger="sitemap.transformer.xslt" name="xalan" 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>
>      <use-deli>false</use-deli>
>    </map:transformer>
> 
>    <!--
>        NOTE: XSLTC is now the default processor. If you use Xalan extensions,
>        use the "xalan" transformer.
>     -->
>    <map:transformer logger="sitemap.transformer.xsltc" name="xslt" 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>
>      <use-deli>false</use-deli>
>      <!-- transformer-factory>org.apache.xalan.xsltc.trax.TransformerFactoryImpl</transformer-factory
-->
>    </map:transformer>
>
>Both use the same src="org.apache.cocoon.transformation.TraxTransformer",
>they are different only in logger and name.
>
>Q.1) I guess it will be right to removve the comment for <transformer-factory/>?
>

They are identical ATM. If you uncomment this element, they will differ.


>Q.2) From where TraxTransformer knows which one to use if no <transformer-factory/>
is given?
>

 From configuration only.

Vadim


>Regards,
>Michael
>  
>




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


Mime
View raw message