on 02-14-2006 2:49 PM
Hi,
I have an message mapping that generates me a xml file. But I like/have to change the encoding too. In my case its always "UTF-8" but I need to switch to "iso-8859-1".
How can I change this?
I also need to insert a DOCTYPE line.
I this both possible during message mapping or how can I handle that?
THX
Matt
Hi Matthias,
You can change the encoding with a XSLT map. Tools like Stylus Studio and XML Spy you can specify what the encoding must be of the result messages.
With a simple java map you can add the Doctype tag, maybe it is also possible in the XSLT map, but I am not quite sure about that.
If you are interested in the Java code for the Doctype, post your email address and I will send it to you.
Cheers,
Frank
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Frank,
>>>You can change the encoding with a XSLT map. Tools like Stylus Studio and XML Spy you can specify what the encoding must be of the result messages.
did you test it?
I believe it does not work in the interface mapping
unless you're talking about xslt in the communication channel
Regards,
michal
hi,
I also use stylus and inside stylus it works great:)
but in the XI.... no way
on the other hand docutype works well in the XI - xslt as far as I remember
the only chance is in my opion to do the xslt mapping
in the modules tab (in the communication channel)
but I have to check it one day
Regards,
michal
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.