|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Accessing attributes in MRM XML |
« View previous topic :: View next topic » |
Author |
Message
|
aks |
Posted: Tue Jan 13, 2004 2:06 am Post subject: Accessing attributes in MRM XML |
|
|
Voyager
Joined: 19 Jul 2002 Posts: 84
|
How do you get attribute values from MRM XML messages in V5?
"Element".(XML.Attribute)attr, according to the forum here, only works for messages in the XML domain.
Thanks
Alan |
|
Back to top |
|
 |
kimbert |
Posted: Tue Jan 13, 2004 3:40 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
You just refer to the attribute as a child of its parent element. There's no special syntax for attributes. If it helps, pretend that all the attributes are simple elements nested under their parent element. |
|
Back to top |
|
 |
kalva7 |
Posted: Tue Jan 13, 2004 4:18 am Post subject: |
|
|
Novice
Joined: 18 Sep 2003 Posts: 21 Location: Pune,India
|
Hi,
It depends on the type of node being used, if it Compute node use InputBody.<element name.....if it is Database Node use Body.<element name>.
Cheers,
Chandra |
|
Back to top |
|
 |
aks |
Posted: Tue Jan 13, 2004 3:38 pm Post subject: |
|
|
Voyager
Joined: 19 Jul 2002 Posts: 84
|
|
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
|
|
|
|