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 » ESQL question: How to assign an XML CDataSection as element?

Post new topic  Reply to topic
 ESQL question: How to assign an XML CDataSection as element? « View previous topic :: View next topic » 
Author Message
wildtiger
PostPosted: Tue May 08, 2007 8:56 am    Post subject: ESQL question: How to assign an XML CDataSection as element? Reply with quote

Acolyte

Joined: 21 Apr 2002
Posts: 55
Location: Canada

Hi,

I recently had a requirement to parse an XML document which is wrapped as a CDataSection of another XML document in broker.

For example, I have the following XML document sent to the MQINPUT node:

Code:

<Msg>
   <App>MyApp</App>
   <AppMsg><![CDATA[<Emp><Id>10001</Id><Name>John Smith</Name></Emp>]]></AppMsg>
</Msg>
   


If I want to transform it to the following XML document output to MQOutput node, how could I use ESQL (or node) to manipulate?

Code:

<Msg>
   <App>MyApp</App>
   <AppMsg>
      <Emp>
          <Id>10001</Id>
          <Name>John Smith</Name>
      </Emp>
   </AppMsg>
</Msg>


Thanks in advance!

WT
Back to top
View user's profile Send private message
JT
PostPosted: Tue May 08, 2007 11:46 am    Post subject: Reply with quote

Padawan

Joined: 27 Mar 2003
Posts: 1564
Location: Hartford, CT.

A quick search of this forum resulted in the following post: http://www.mqseries.net/phpBB2/viewtopic.php?t=34834
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 » ESQL question: How to assign an XML CDataSection as element?
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.