Solved

Replacement for DocumentNavigator's selectSingle method

Posted on 2001-07-05
5
280 Views
Last Modified: 2008-03-10
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
Comment
Question by:pserra77
5 Comments
 
LVL 19

Expert Comment

by:DreamMaster
ID: 6255273
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
 
LVL 22

Expert Comment

by:CJ_S
ID: 6255730
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
 
LVL 2

Expert Comment

by:preinsko
ID: 6264188
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
 
LVL 4

Accepted Solution

by:
saar2 earned 100 total points
ID: 6266439
XmlNode has a the function SelectSingleNode, why don't you use it?

Saar
0
 

Expert Comment

by:SpideyMod
ID: 8296962
Force Accepted

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A brief overview to explain gateways, default gateways and static routes OR NO - you CANNOT have two default gateways on the same server, PC or other Windows-based network device. In simple terms a gateway is formed when a computer such as a serv…
This is the first one of a series of articles I’ll be writing to address technical issues that are always referred to as network problems. The network boundaries have changed, therefore having an understanding of how each piece in the network  puzzl…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question