|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
xml files encoding |
« View previous topic :: View next topic » |
Author |
Message
|
triniti |
Posted: Thu Jun 15, 2006 1:40 am Post subject: xml files encoding |
|
|
Newbie
Joined: 15 Jun 2006 Posts: 8
|
Hi!
I've got a problem..
I use MQ Integrator 2.1. The Broker transforms IDOCs files into XML files, the problem is that in the xml header the encoding has this value <?xml
encoding="ISO-8859-1"?> in case thisone <?xml encoding="UTF-8"?> could you help me please???
I´m sorry about my english
trnt. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Jun 15, 2006 2:52 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You need to migrate to v6. This has nothing to do with your problem, but it is still an important thing to do.
You can access the children of the XML Declaration by using the (XML.Declaration) qualifier in your ESQL - like you would use (XML.Attribute) to qualify an attribute element. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
triniti |
Posted: Thu Jun 15, 2006 3:38 am Post subject: xml files encoding |
|
|
Newbie
Joined: 15 Jun 2006 Posts: 8
|
I was looking for in Internet about "transform an xml file" and I found something, maybe a posible solution, is a "XML transformation node (called IA0G)", but I don´t Know how to use, anyone has use this node??
I think with V2.1 is also posible to change portocol ISO to UTF-8
I´m sorry about my english.
Thanks. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Jun 15, 2006 7:21 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You don't need the XML Transformation node to solve this problem. You can simply solve it in ESQL.
something *like*
Code: |
Set OutputRoot.XML.(XML.Decl)encoding='UTF-8'; |
This is not tested code, and may have bad syntax. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|