Assuming nested tables don't have unique attributes ( id , class or anything else ) to get the required one via ...doc.DocumentNode.SelectSingleNode("//table[@width='500']")
...Does XPath prohibit using table several times in its path ?...foreach (Html...