SamJolly
asked on
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
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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER