Sorry, al little too quick perhaps. You should also define the encoding in the components section, for example:
 
        <map:serializers default="html" label="result">
            <map:serializer name="xml" mime-type="text/xml" src="">
                <encoding>UTF-8</encoding>
            </map:serializer>
            <map:serializer name="html" mime-type="text/html" src="">
                <encoding>ISO-8859-1</encoding>
            </map:serializer>
        </map:serializers>
 
-----Oorspronkelijk bericht-----
Van: Alten, Jelle Paul (sds-sp) [mailto:[EMAIL PROTECTED]
Verzonden: donderdag 6 november 2003 17:03
Aan: '[EMAIL PROTECTED]'
Onderwerp: RE: [HELP]: How to set xml encoding?

use
    <serialize type="xml" />
 
Jelle
-----Oorspronkelijk bericht-----
Van: Gianluca Morello [mailto:[EMAIL PROTECTED]
Verzonden: donderdag 6 november 2003 17:21
Aan: [EMAIL PROTECTED]
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=""/>
 <map:transform src=""/>
 <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
 

Reply via email to