|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How to read XML elements!!! |
« View previous topic :: View next topic » |
Author |
Message
|
MQTORTOISE |
Posted: Tue Dec 31, 2002 4:27 pm Post subject: How to read XML elements!!! |
|
|
 Novice
Joined: 24 Dec 2002 Posts: 15
|
Hi ,Any idea how to read the xml tag like..
<A SID="EID">1234</A> .I would like to process the tag EID.Pls let me know ..
Thanks in Adv,
MQTortoise..  |
|
Back to top |
|
 |
kirani |
Posted: Wed Jan 01, 2003 6:57 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Here SID is an XML Attribute, to read it's value use statement like,
SET something = InputRoot.XML.SID;
or
SET something = InputRoot.XML.(XML.Attribute)SID; _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
MQTORTOISE |
Posted: Thu Jan 02, 2003 9:12 am Post subject: |
|
|
 Novice
Joined: 24 Dec 2002 Posts: 15
|
Thank you very much Kiran..
It works fine with ur suggested code..
Thanks Again,
MQTortoise.. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|