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 » Methods getFirstElementByPath and getFirstElementByPath

Post new topic  Reply to topic
 Methods getFirstElementByPath and getFirstElementByPath « View previous topic :: View next topic » 
Author Message
OtisFly
PostPosted: Mon Aug 24, 2009 3:28 am    Post subject: Methods getFirstElementByPath and getFirstElementByPath Reply with quote

Novice

Joined: 01 Dec 2005
Posts: 19
Location: London - UK

Hello
I noticed in the infocenter for WMB 6.1.0.4 that the methods Methods getFirstElementByPath and getFirstElementByPath in class MbElement are deprecated. The advice is that Path selection should be done using the XPath 1.0 methods.

Does anyone know why this is?

Thanks
Otis
Back to top
View user's profile Send private message
rekarm01
PostPosted: Mon Aug 24, 2009 6:23 pm    Post subject: Re: Methods getFirstElementByPath and getFirstElementByPath Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 1415

OtisFly wrote:
Hello
I noticed in the infocenter for WMB 6.1.0.4 that the methods Methods getFirstElementByPath and getFirstElementByPath in class MbElement are deprecated.

What's the difference between getFirstElementByPath() and getFirstElementByPath()? According to the online documentation, neither one of these appears to be deprecated for the MbElement class.

However, getAllElementsByPath() does appear to be deprecated.

OtisFly wrote:
The advice is that Path selection should be done using the XPath 1.0 methods.

Does anyone know why this is?

evaluateXPath() has all of the functionality of getAllElementsByPath(), and more; it also conforms to a well-known public standard.
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 » Methods getFirstElementByPath and getFirstElementByPath
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.