You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Alten, Jelle Paul (sds-sp)" <je...@ordina.nl> on 2003/11/06 17:02:56 UTC

RE: [HELP]: How to set xml encoding?

use 
    <serialize type="xml" />
 
Jelle

-----Oorspronkelijk bericht-----
Van: Gianluca Morello [mailto:morello@S1.my-tv.it]
Verzonden: donderdag 6 november 2003 17:21
Aan: users@cocoon.apache.org
Onderwerp: [HELP]: How to set xml encoding?


Hallo,
 
i need to set correctly the encoding of my xml output files in
apipeline.
 
For example:
 
if I use a simple pipeline like this
 
 <map:generate src="input.xml"/>
 <map:transform src="simple.xsl"/>
 <map:serialize/>

The xml encoding in the input.xml is ISO-8859-1,
The xml encoding of the simple.xsl s ISO-8859-1,
The simple.xsl file contains a line like this<xsl:output method="xml"
version="1.0" encoding="ISO-8859-1" />
 
The output xml has always the encoding UTF-8.
 
Any idea?
 
Thank you
 
 
Gianluca Morello