ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » xml files encoding

Post new topic  Reply to topic
 xml files encoding « View previous topic :: View next topic » 
Author Message
triniti
PostPosted: Thu Jun 15, 2006 1:40 am    Post subject: xml files encoding Reply with quote

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
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Thu Jun 15, 2006 2:52 am    Post subject: Reply with quote

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
View user's profile Send private message
triniti
PostPosted: Thu Jun 15, 2006 3:38 am    Post subject: xml files encoding Reply with quote

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
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Thu Jun 15, 2006 7:21 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » xml files encoding
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.