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 » Transformation in ESQL

Post new topic  Reply to topic
 Transformation in ESQL « View previous topic :: View next topic » 
Author Message
chenna.hari
PostPosted: Mon Dec 27, 2010 9:22 pm    Post subject: Transformation in ESQL Reply with quote

Centurion

Joined: 21 Mar 2009
Posts: 103

Hi,

I need to generate the output containing the element names as same as Values of Elements present in input xml.

for example input xml is

Quote:

<input>
<Element1>Name</Element1>
<Element2>Value</Element2>
</input>


output xml is

Quote:

<output>
<Name>Value</Name>
<output>


Any suggestions pls??
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Dec 27, 2010 9:33 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Check the ESQL reference and the manuals (programmer)... it's all in there.
Look up things like
Code:
Set myref.{"element1"} = value1;


Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
chenna.hari
PostPosted: Tue Dec 28, 2010 2:11 am    Post subject: Reply with quote

Centurion

Joined: 21 Mar 2009
Posts: 103

Thanks a lot for solution.
Back to top
View user's profile Send private message
kash3338
PostPosted: Wed Dec 29, 2010 12:57 am    Post subject: Reply with quote

Shaman

Joined: 08 Feb 2009
Posts: 709
Location: Chennai, India

fjb_saper wrote:
Check the ESQL reference and the manuals (programmer)... it's all in there.
Look up things like
Code:
Set myref.{"element1"} = value1;


Have fun


One more way of doing this is using the EVAL statement. Check the manuals for the same.
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Wed Dec 29, 2010 7:19 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

kash3338 wrote:
One more way of doing this is using the EVAL statement. Check the manuals for the same.


Yep, but much less efficient.
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 » Transformation in ESQL
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.