This project has moved and is read-only. For the latest updates, please go here.

Selecting nodes from subtrees

Nov 4, 2009 at 7: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!).