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 » Trace Node pattern for XML Message with NameSpaces

Post new topic  Reply to topic
 Trace Node pattern for XML Message with NameSpaces « View previous topic :: View next topic » 
Author Message
EddieA
PostPosted: Wed Nov 14, 2007 10:23 am    Post subject: Trace Node pattern for XML Message with NameSpaces Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Wed Nov 14, 2007 10:37 am    Post subject: Reply with quote

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
View user's profile Send private message
EddieA
PostPosted: Wed Nov 14, 2007 11:47 am    Post subject: Reply with quote

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
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 » Trace Node pattern for XML Message with NameSpaces
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.