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 tree copy

Post new topic  Reply to topic
 XML tree copy « View previous topic :: View next topic » 
Author Message
raghubegur
PostPosted: Tue May 09, 2006 1:37 pm    Post subject: XML tree copy Reply with quote

Apprentice

Joined: 15 Jul 2002
Posts: 45

Hi,

WBIMB 6.0

One of the fields in my input xml message looks like this:
Case 1:
<a>
<Method MethodName="MyMethod">
<SubCommand SubCommandType="A"/>
</Method>
</a>

Case 2:
<a>
<Method MethodName="MyMethod"></Method>
</a>


MyRef is a reference variable to <a>
SET Environment.Variables.SavedData = MyRef.a;

In Case 1 : Environment.Variables.SavedData has the complete tree structure under <a>

<Environment>
<Variables>
<SavedData>
<Method>
<MethodName>MyMethod</MethodName>
<SubCommand>A</SubCommand>
</Method>


In Case 2 : Environment.Variables.SavedData looks like this
<Environment>
<Variables>
<SavedData>
<Method></Method>


Why is the attribute MethodName="MyMethod" not getting copied in Case 2 ?

Thanks,
Raghu
Back to top
View user's profile Send private message Send e-mail
elvis_gn
PostPosted: Tue May 09, 2006 7:40 pm    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi raghubegur.

Please try a search before posting...you'll realize why i say this when u check out this link...it links to another .....yours will now get added

http://www.mqseries.net/phpBB2/viewtopic.php?t=26105&highlight=environment+parser

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

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » XML tree copy
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.