Re: XPath and XmlNodeList, the horror, the horror!

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



DotNetNewbie <snowman908070@xxxxxxxxx> wrote:

<snip>

but if I try and loop through them I get an error: Expression must
evaluate to a node-set.

When? At compile-time, or execution time?

Where? Which line of code?

Could you post a short but complete program which demonstrates the
problem?

See http://www.pobox.com/~skeet/csharp/complete.html for details of
what I mean by that.


--
Jon Skeet - <skeet@xxxxxxxxx>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
World class .NET training in the UK: http://iterativetraining.co.uk
.



Relevant Pages