|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
copyElementTree() method |
« View previous topic :: View next topic » |
Author |
Message
|
EAI Developer |
Posted: Wed Apr 04, 2012 11:37 am Post subject: copyElementTree() method |
|
|
 Centurion
Joined: 30 Nov 2005 Posts: 101 Location: US
|
Hi,
I am trying to add three element tree from global environment(globalenv ->XMLNSC->Input ->Part1,->Part2,->Part3) to a new outmessage, which I have created. The logic is inside while loop, so that copy can happen three times. But, as the documentation rightly says(reliazed late) , copyElementTree will override the tree, but not append. So, any other option to do so. Could not find anything useful in forum search.
Thanks ! _________________ ___________________
Regards,
EAI Developer. |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Apr 04, 2012 12:45 pm Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Which MB API provides copyElementTree()?
Have you confirmed that you are properly specifying unique destinations for the copy? I'd think that if you created the root of each copy and then told it to copy into there, then it would work?
Maybe you would have to descend to each child of the tree in the Environment that you're copying and then copy those. |
|
Back to top |
|
 |
EAI Developer |
Posted: Fri Apr 06, 2012 8:14 am Post subject: |
|
|
 Centurion
Joined: 30 Nov 2005 Posts: 101 Location: US
|
Hi Jeff,
That is what I did as alternative. Copy each element tree separately into outputRoot. _________________ ___________________
Regards,
EAI Developer. |
|
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
|
|
|
|