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 » How to read the values from xml

Post new topic  Reply to topic
 How to read the values from xml « View previous topic :: View next topic » 
Author Message
subbu
PostPosted: Thu Feb 18, 2010 3:28 am    Post subject: How to read the values from xml Reply with quote

Newbie

Joined: 26 Nov 2009
Posts: 8

Hi I have the following xml.

<Employee>
<JEF>
<EMPID>10767</EMPID>
<FNAME>RAJANI</FNAME>
<SNAME>THOMASH</SNAME>
<DOJ>20080219</DOJ>
<SALARY>42000</SALARY>
<DESG>APPLICATIOn</DESG>
</JEF>
<JEF>
<EMPID>10766</EMPID>
<FNAME>RAANAOI</FNAME>
<SNAME>THOMASH</SNAME>
<DOJ>20080219</DOJ>
<SALARY>43000</SALARY>
<DESG>APPLICATIOn</DESG>
</JEF>
<JEE>
<EMPID>10768</EMPID>
<FNAME>RJANAM</FNAME>
<SNAME>THOMASH</SNAME>
<DOJ>20080219</DOJ>
<SALARY>42000</SALARY>
<DESG>APPLICATIOn</DESG>
</JEE>
<JHH>
<EMPID>10869</EMPID>
<FNAME>RANAJ</FNAME>
<SNAME>THOMASH</SNAME>
<DOJ>20080219</DOJ>
<SALARY>42000</SALARY>
<DESG>APPLICATIOn</DESG>
</JHH>
</Employee>


I have to read the salary in each element and store into db. Can u please tell me how to do this?
Back to top
View user's profile Send private message
Gaya3
PostPosted: Thu Feb 18, 2010 3:35 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

*****first of all this is the not the right place to post your queries*****

This is easy to do in MB. I suggest you to get trained on this

Read about Cardinality in ESQL
Read about Looping
Read about Reference
Read about Passthru
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Feb 18, 2010 3:36 am    Post subject: Reply with quote

Grand High Poobah

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

Have you tried this? http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/topic/com.ibm.etools.mft.doc/ak05620_.htm


_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Thu Feb 18, 2010 5:02 am    Post subject: Reply with quote

Grand High Poobah

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

Moved to relevant section
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » How to read the values from xml
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.