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 » Appened under the same XML tag

Post new topic  Reply to topic
 Appened under the same XML tag « View previous topic :: View next topic » 
Author Message
mkhadse
PostPosted: Wed May 01, 2002 12:59 pm    Post subject: Reply with quote

Acolyte

Joined: 31 Dec 1969
Posts: 73

Hi

I am getting an XML message on a queue and reading it in a message. In a compute node I want to add some more elements to the same xmltree. However in the output I get two XML tress with the same tagname. That is there is a array of tagname tree.

Input message:
"XMLRoot"."test" (only one XML Root)

In Compute node:
OutputRoot.XML.XMLRoot.env = 'Z'

Output Message:
"XMLRoot"[1].test
"XMLRoot"[2].env

I don't want an array of XMLRoot, instead I want env appended to the XMLRoot of the Input message. I could not find any documentation describing this in ESQL Reference.

Any help will be appreciated regarding this.

Thanks
Back to top
View user's profile Send private message
kolban
PostPosted: Wed May 01, 2002 1:16 pm    Post subject: Reply with quote

Grand Master

Joined: 22 May 2001
Posts: 1072
Location: Fort Worth, TX, USA

This sounds most odd. What you are asking for should be exactly what occurs. Can you capture a Trace node output of ${Root} before and after the compute node and also the ESQL in the Compute node and post here? What platform, release and CSD do you have applied on the broker?
Back to top
View user's profile Send private message
amigupta1978
PostPosted: Wed May 01, 2002 8:12 pm    Post subject: Reply with quote

Centurion

Joined: 22 Jan 2002
Posts: 132
Location: India

Hi,
I too have sometimes faced this problem. I dont know why this happens, but I used something like this to made the thinkgs work

Set OutputRoot.XML.XMLRoot[1].env = 'Z';

Hope this works for u too.

Regards,
Amit
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Appened under the same XML tag
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.