Need some help on doing XPath in ASP.NET.

Hi,

I have got some XML in an object ie

Doc.Xml

with

<table>
<rc/>
<rc/>
<rc/>
<rc/>
<rc/>
<rc/>
</table

I want to apply some xpath to it to find out how many child nodes there are:

i.e xpath = count(//Table/*)

The relevant code would return 6 as answer.

What would the asp.net code look like to do the above please.

Thanks,

Sam
SamJollyAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
SamJollyConnect With a Mentor Author Commented:
Sorted.... thanks
0
 
SamJollyAuthor Commented:
Sorted myself
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.