Re: [xsl] Encoding text outputs with XSL

Subject: Re: [xsl] Encoding text outputs with XSL
From: Joerg Heinicke <joerg.heinicke@xxxxxx>
Date: Fri, 28 Jun 2002 16:47:04 +0200
Welcome to the list.

Normally you add a <xsl:output encoding="ISO-8859-1"/> to the top of the stylesheet. But in Cocoon this option is deactivated. You have to configure the serializer in the sitemap. Have a look at the start of the sitemap, find the serializer you are using and add a parameter similar to the following snippet:

<map:serializer name="html" mime-type="text/html" src="org.apache.cocoon.serialization.HTMLSerializer">
<encoding>ISO-8859-1</encoding>
</map:serializer>


Regards,

Joerg


Cenk Uysal wrote:
hi,

I'm new in this mailing list. First of all hello to everybody.

And here is my first question:

I wrote a XSL that returns text file with the help of XML publishing
framework Cocoon. My question is how can I set encoding of my text
file by using XSL commands? Or is there any other solution?


--

System Development
VIRBUS AG
Fon  +49(0)341-979-7419
Fax  +49(0)341-979-7409
joerg.heinicke@xxxxxxxxx
www.virbus.de


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread