|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Appened under the same XML tag |
« View previous topic :: View next topic » |
Author |
Message
|
mkhadse |
Posted: Wed May 01, 2002 12:59 pm Post subject: |
|
|
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 |
|
 |
kolban |
Posted: Wed May 01, 2002 1:16 pm Post subject: |
|
|
 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 |
|
 |
amigupta1978 |
Posted: Wed May 01, 2002 8:12 pm Post subject: |
|
|
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 |
|
 |
|
|
 |
|
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
|
|
|
|