The XPath query to get td
tags located inside a table
with class "something" is
var nodes = document.DocumentNode.SelectNodes(@"//table[@class=""something""]//td");
This means:
//
selects nodes in the document from the current node that match the selection no matter where they are//table[@class="something"]
selectstable
tags with the attributeclass
equals to 'something' anywhere in the document.//table[@class="something"]//td
selectstd
tags that have as a parent, a grand parent or a grand grant parent atable
tag