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 » Parsing a unparsed subtree using RCD node.

Post new topic  Reply to topic
 Parsing a unparsed subtree using RCD node. « View previous topic :: View next topic » 
Author Message
guest468
PostPosted: Thu Jun 01, 2006 11:38 am    Post subject: Parsing a unparsed subtree using RCD node. Reply with quote

Centurion

Joined: 30 May 2006
Posts: 146
Location: NY

Guys, I need some help on MRM.

I have a message which has been defined from a XML schema. The message also has a particular unparsed subtree(tree2 below) which is defined as wildcard attribute whose contents will be used only under some circumstance in a node. And just before passing a message there I will parse that subtree using a RCD node using another message set. But I am not sure how I can remove the MRM message just before sending the message to RCD.
The Original Input message is as follows..
<Main>
<tree1>
...
</tree1>
<tree2>
...
</tree2>
</Main>

Tree2 will be parsed in RCD node. I need to remove tree1 before passing the message to RCD node.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Jun 01, 2006 11:47 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Call CopyMessageHeaders();
Set OutputRoot.XML.tree2 = InputRoot.XML.tree2;

There's no reason to remove stuff - just don't copy it in the first place.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
madi
PostPosted: Thu Jun 01, 2006 12:37 pm    Post subject: Reply with quote

Chevalier

Joined: 17 Jan 2006
Posts: 475

also, if u are using 5.0, RCD node does NOT parse messages, it just changes the domain and messagetype and all that information

so if u are looking for some validation against the schema for tree2 u would need another compute to copy input to output which would then parse the message to the corresponding msg def file

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

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Parsing a unparsed subtree using RCD node.
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.