Quantcast
Channel: htmlagilitypack Forum Rss Feed
Viewing all articles
Browse latest Browse all 655

New Post: Problem selecting within a node

$
0
0

In the last persons example, just change the line to read:

string test2 = row.SelectSingleNode(".//td").InnerText;

The . means to do the search from the current node, // on its own means from the start of the document


Viewing all articles
Browse latest Browse all 655

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>