This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Encoding text outputs with XSL


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@virbus.de
www.virbus.de


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]