On Friday 28 December 2001 12:04, Cocoon User wrote:
> i recieve pages in Unicode format
> how can a change this i want iso-8859-7

I think you need to configure an additional xml serializer with the 
iso-8859-7 encoding, AFAIK the encoding settings in XSL transforms are 
ignored.

Here's an example for 8859-1:

in sitemap.xmap:

      <map:serializer name="xml-8859"
                      mime-type="text/xml"
                      src="org.apache.cocoon.serialization.XMLSerializer"
                      pool-max="32"
                      pool-min="16"
                      pool-grow="4">
        <encoding>iso-8859-1</encoding>
      </map:serializer>

then
      <map:match pattern="something-in-8859.xml">
        <map:generate . . ./>
        <map:serialize type="xml-8859"/>
      </map:match>

Hope this helps!
-- 
 -- Bertrand Delacrétaz, www.codeconsult.ch
 -- web technologies consultant - OO, Java, XML, C++






---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to