|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Trace Node pattern for XML Message with NameSpaces |
« View previous topic :: View next topic » |
Author |
Message
|
EddieA |
Posted: Wed Nov 14, 2007 10:23 am Post subject: Trace Node pattern for XML Message with NameSpaces |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Hi,
In the Trace Node, it's possible to write a "Pattern", to extract data from the message.
Is it possible to do this with an XML message that uses namespaces. If so, can someone supply an example of how to code this.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Nov 14, 2007 10:37 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Any ESQL path should work...
Of course, you can't declare a namespace prefix in the Pattern....
You can use either *: or hardcode the actual value.
Root.XMLNS.RootTag.*:field.*:field2 _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
EddieA |
Posted: Wed Nov 14, 2007 11:47 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Thanks Jeff. I got it to work using "*".
Using the full name, I could only get as far as where the namespace changed. And mixing "named" namespaces and "*" didn't work either.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
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
|
|
|
|