Solved

Replacement for DocumentNavigator's selectSingle method

Posted on 2001-07-05
5
281 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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Suggested Solutions

Resolve DNS query failed errors for Exchange
An article on effective troubleshooting
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

733 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