cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ZM_Main@tut.by" <ZM_M...@tut.by>
Subject C2 + Tomcat 3.2.3 international xsl:parameter
Date Thu, 27 Sep 2001 17:44:05 GMT
sitemap fragment:

request:
http://localhost:8080/cocoon/books/books.html?parameter=%E9%F6%F3%EA%E5%ED


when I use in xsl file
<xsl:value-of select="$parameter"/>

result next:
&eacute;&ouml;&oacute;&ecirc;&aring;&iacute;


Can I get next result:
йцукен (in Windows-1251 codepage)
or (&#1081;&#1094;&#1091;&#1082;&#1077;&#1085;)

-------------------------------------------------------------------------------------
sitemap .xmap fragment:
  <map:transformers default="xslt">
   <map:transformer     name="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>
   </map:transformer>
...............
   <map:serializer name="html"   mime-type="text/html"        src="org.apache.cocoon.serialization.HTMLSerializer">
     <encoding>Windows-1251</encoding>
   </map:serializer>
..............

   <map:match pattern="books/*.html">
    <map:generate src="books/{1}.xml"/>
    <map:transform src="books/{1}.xsl"/>
    <map:serialize type="html"/>
   </map:match>



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