This project has moved. For the latest updates, please go here.

Selecting nodes from subtrees

Nov 4, 2009 at 6:28 PM

i want to select nodes from a subtree:


HtmlNodeCollection nodes, nodes2;

nodes = rootNode.SelectNodes("//html");
nodes2 = nodes[0].SelectNodes("//div[1]");


why does the second call doesnt give me a node? (the document does contain divs!).