Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Need some help on doing XPath in ASP.NET.

Posted on 2011-02-17
2
Medium Priority
?
340 Views
Last Modified: 2013-11-18
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
0
Comment
Question by:SamJolly
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 

Accepted Solution

by:
SamJolly earned 0 total points
ID: 34919135
Sorted.... thanks
0
 

Author Closing Comment

by:SamJolly
ID: 34919140
Sorted myself
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logiā€¦
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.

610 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