cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alten, Jelle Paul (sds-sp)" <>
Subject RE: [HELP]: How to set xml encoding?
Date Thu, 06 Nov 2003 16:07:30 GMT
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"
            <map:serializer name="html" mime-type="text/html"


-----Oorspronkelijk bericht-----
Van: Alten, Jelle Paul (sds-sp) []
Verzonden: donderdag 6 november 2003 17:03
Aan: ''
Onderwerp: RE: [HELP]: How to set xml encoding?

    <serialize type="xml" />

-----Oorspronkelijk bericht-----
Van: Gianluca Morello []
Verzonden: donderdag 6 november 2003 17:21
Onderwerp: [HELP]: How to set xml encoding?

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

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

View raw message