My program is a simple c# console application, I am unsure of howto achieve my goal, basically I am selecting a single node but I would like to ignore an tag with a particular text value, my code is below.
string name = item.SelectSingleNode("//select[contains(@id,'var')]//option")
.GetInnerTextFromNode();
I know in jQuery you could use :not filter, but not sure in C# and I have search for documentation for the pack, but nothing has surfaced.
Thank you
not()
operator. The syntax parsed by the HTML Agility Pack is actually XPath, so if you search for that you should find a lot more answers :) stackoverflow.com/questions/11024080/…