I am trying to select all
li tags on a page that do not have the
What i have so far is:
This is what ive tried so far
With that i get the error:
"Expression must evaluate to a node-set."
use this expression
var lis = htmlDoc.DocumentNode.SelectNodes("//li[not(@class='r')]")