• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 286
  • Last Modified:

Replacement for DocumentNavigator's selectSingle method

I used Visual Studio Beta 1 extensively (esp. xml and xpath) now I am trying to convert all my code to Beta 2.

The problem is that I have used DocumentNavigator.selectSingle a 1000 times in my code which selects a single node based on my xpath expression string.

Now this is not there in Beta 2.

I wonder if there is a suppliment for this in Beta 2(Don't ask me to use XPathNavigator. I know that. I am looking for a substitute for selectSingle) or should I change my entire damn code so that use only "Select"

I don't think there is any replacement but I just thought I should be asking the experts here. ;-)

Thanks in adv!
0
pserra77
Asked:
pserra77
1 Solution
 
DreamMasterCommented:
Nope sorry....for some reason they decided to leave it out in the second BETA version, hopefully they will reinstate it in the final version...

Max.
0
 
CJ_SCommented:
Almost all items from BETA 1 have changed. For exampelt hat you cannot override buttons or anything. Therefore I wait with writing real applications until the final release. I only make some test programs to learn the language and it's features...:-/

Regards,
CJ
0
 
preinskoCommented:
The beta 2 release is feature complete and only bug fixes will be incorporated into the RTM.  

The changes from B1 to B2 were enormous; but that will not happen in the next release.  Basically, whatever workarounds you incorporated due to bugs will pretty much the only code revisited upon release.
0
 
saar2Commented:
XmlNode has a the function SelectSingleNode, why don't you use it?

Saar
0
 
SpideyModCommented:
Force Accepted

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now