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 IndexWebSphere Message Broker (ACE) SupportAdding Xml attribute Encoding to the OutputRoot

Post new topicThis topic is locked: you cannot edit posts or make replies.
Adding Xml attribute Encoding to the OutputRoot View previous topic :: View next topic
Author Message
pvsr
PostPosted: Mon May 06, 2013 3:44 am Post subject: Adding Xml attribute Encoding to the OutputRoot Reply with quote

Novice

Joined: 06 May 2013
Posts: 12

Currently, each record starts with the XML declaration:  <?xml version="1.0"?>
 
Change so each record starts with the XML declaration:  <?xml version="1.0" encoding=”iso-8859-1”?>


i have tried using the ESQL code but its not working. in MQInuput the parser sets to xml domain . but in code there is some transformations that was done in MRM. so can i place the xml for getting the output



CREATE FIRSTCHILD OF OutputRoot.XML TYPE XML.XmlDeclaration;
SET OutputRoot.XML.(XML.XmlDeclaration)*.(XML.Attribute)Version = '1.0';
SET OutputRoot.XML.(XML.XmlDeclaration)*.(XML.Attribute)Encoding = 'iso-8859-1';
Help me where i should make changes and how to add that attribute
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon May 06, 2013 4:53 am Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Anything that starts with "OutputRoot.XML." or "InputRoot.XML" is wrong.

It should always start with "OutputRoot.XMLNSC" or "InputRoot.XMLNSC".

Likewise anything that looks like "(XML." is wrong, because it should always look like "(XMLNSC.".
Back to top
View user's profile Send private message
bruce2359
PostPosted: Mon May 06, 2013 5:00 am Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Moved to Message Broker forum.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
pvsr
PostPosted: Thu May 09, 2013 4:05 am Post subject: Reply with quote

Novice

Joined: 06 May 2013
Posts: 12

but here am working with mrm domain..

for that how cahn i add the code and get the output with version and encoding as headers.
Back to top
View user's profile Send private message
kash3338
PostPosted: Thu May 09, 2013 4:09 am Post subject: Reply with quote

Shaman

Joined: 08 Feb 2009
Posts: 709
Location: Chennai, India

This is a double post of this.

Please follow one thread so that you get clear response and also it helps others to refer later.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:
Post new topicThis topic is locked: you cannot edit posts or make replies. Page 1 of 1

MQSeries.net Forum IndexWebSphere Message Broker (ACE) SupportAdding Xml attribute Encoding to the OutputRoot
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.