cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <jheini...@virbus.de>
Subject Re: [HELP]: How to set xml encoding?
Date Thu, 06 Nov 2003 16:09:18 GMT
Gianluca Morello wrote:

> 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?

Have a look into the map:serializers section, search for the serializer 
you want to change and use and add <encoding>ISO-8859-1</encoding> as 
child of this map:serializer.

Joerg


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message