[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Encoding text outputs with XSL

Subject: Re: Encoding text outputs with XSL
From: Joerg Heinicke <joerg.heinicke@xxxxxx>
Date: Fri, 28 Jun 2002 16:47:04 +0200
cocoon serialization encoding
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2011 All Rights Reserved.