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 » Logically Grouping elements in WMB

Post new topic  Reply to topic
 Logically Grouping elements in WMB « View previous topic :: View next topic » 
Author Message
Qadeer_824
PostPosted: Thu Nov 11, 2010 6:16 am    Post subject: Logically Grouping elements in WMB Reply with quote

Acolyte

Joined: 04 Oct 2007
Posts: 59

HiAll,
I have a requirement where i get an XML message in the structure below:
Code:

<Request>
     <Element1>
     <Element2>
     <Element2>
     <Element2>
     <Element2>
     <Element3>
</Request>


and i need to change the structure to
Code:

<Request>
      <Element1>
      <Element2Root>
         <Element2>
         <Element2>
         <Element2>
         <Element2>
     </Element2Root>
     <Element3>
</Request>


What is the best way of achieving this? Can this be done without using a transformation (compute/mapping) ?

Please advice.

Thanks,
Qadeer
Back to top
View user's profile Send private message Yahoo Messenger
Vitor
PostPosted: Thu Nov 11, 2010 6:27 am    Post subject: Re: Logically Grouping elements in WMB Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Qadeer_824 wrote:
Can this be done without using a transformation (compute/mapping) ?


You can't change message sturcture with some kind of transformation.

Though in your case it's a very simple one.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
kimbert
PostPosted: Thu Nov 11, 2010 8:16 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

If you don't want to use a Compute / JavaCompute / PHPCompute / Mapping node, then you could always write some XSLT and use the XSLT node.

In fact, if the change of structure is the only thing that the message flow needs to do, then XSLT is probably a good solution.
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 » Logically Grouping elements in WMB
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.