Hallo Jelle,
My serializers map is like this:
<map:serializers
default="html">
<map:serializer name="xml-iso" mime-type="text/xml" src=""> <encoding>ISO-8859-1</encoding> </map:serializer> </map:serializers> And using the following pipeline the xml output
encoding is correct!
<map:generate src=""/>
<map:transform src=""/> <map:serialize type="xml-iso"/> Thank you for your help.
I still have problems with encoding because i have
to write xml to file system:
I'm using SourceWritingTransformer and
my real pipeline is like the
following:
<map:generate src=""/>
<map:transform src=""/> <map:transform
type="tofile"/> <map:serialize type="xml-iso"/>My transformers map is:
<map:transformer
name="tofile"
src="">
<!-- 'xml' is the default Serializer (if your Source needs one, like for instance FileSource) --> <map:parameter name="serializer" value="xml-iso"/> </map:transformer> The output files continue to have the encoding set
to utf-8
Any idea?
Thank you
Gianluca ----- Original Message -----
|
- [HELP]: How to set xml encoding? Gianluca Morello
- Re: [HELP]: How to set xml encoding? Joerg Heinicke
- RE: [HELP]: How to set xml encoding? Alten, Jelle Paul (sds-sp)
- RE: [HELP]: How to set xml encoding? Alten, Jelle Paul (sds-sp)
- Gianluca Morello