Author |
Message |
Topic: Accessing xml elements |
brokerdevel
Replies: 19 Views: 16810
|
Forum: WebSphere Message Broker (ACE) Support Posted: Tue Jun 01, 2010 8:52 am Subject: Accessing xml elements |
Thanks a lot fjb_saper. it worked.
Vitor, yeah i agree, i need a lot of learning to do on ESQL XML. |
Topic: Accessing xml elements |
brokerdevel
Replies: 19 Views: 16810
|
Forum: WebSphere Message Broker (ACE) Support Posted: Tue Jun 01, 2010 8:19 am Subject: Accessing xml elements |
Vitor,
no, there is no element called 'value'. I am using it as verb to retrive the value of that element. (i saw you using 'name' to retrive the name so ..)
Here is the message tree...
<Messag ... |
Topic: Accessing xml elements |
brokerdevel
Replies: 19 Views: 16810
|
Forum: WebSphere Message Broker (ACE) Support Posted: Tue Jun 01, 2010 7:30 am Subject: Accessing xml elements |
Vitor,
Here are all those I tried...
SET ret=InputRoot.XMLNSC.Message.AdditionalFlds.Field[1].(XMLNSC.Attribute)value
SET ret=InputRoot.XMLNSC.Message.AdditionalFlds.Field[1].(XMLNSC.Field)value
... |
Topic: Accessing xml elements |
brokerdevel
Replies: 19 Views: 16810
|
Forum: WebSphere Message Broker (ACE) Support Posted: Tue Jun 01, 2010 6:03 am Subject: Accessing xml elements |
Sorry guys, I am unable to retrive that element.
I tried content but then should I pass value to it?
SET ret=InputRoot.XMLNSC.Message.AdditionalFlds.Field[1].(XMLNSC.content)name ?
I did try lot ... |
Topic: Accessing xml elements |
brokerdevel
Replies: 19 Views: 16810
|
Forum: WebSphere Message Broker (ACE) Support Posted: Fri May 28, 2010 11:50 am Subject: Accessing xml elements |
Thanks Vit.
I tried.
SET ret=InputRoot.XMLNSC.Message.AdditionalFlds.Field[1].(XMLNSC.Attribute)name
But it returns 'f1'. I want to get the value of the field that is 'abc' |
Topic: Accessing xml elements |
brokerdevel
Replies: 19 Views: 16810
|
Forum: WebSphere Message Broker (ACE) Support Posted: Fri May 28, 2010 10:42 am Subject: Accessing xml elements |
Hiya,
I am having trouble accessing certain elements in a simple xml message. Coudl some pls help.
here is the tree.
<Message>
<A>
<B>
<AdditionalFlds>
<Field name=&q ... |