Jan 14, 2011 at 1:16 AM
Edited Jan 14, 2011 at 3:13 AM
Thanks for the suggestion - I can run with this!
Well, I can almost run with it. I'm working with HAPLight and when using the HtmlNodeCollection, there is no
SelectNodes method as in this example:
nc = doc.DocumentNode.SelectNodes("//div");
I added HtmlNode.Xpath.cs to the HAPLight directory and built it - this seems to work.
Of course, with one step forward, I'm still two steps back... Not sure if I'm on the right track with the following as I get a null reference :
HtmlNodeCollection nc = pbbooklists.DocumentNode.SelectNodes("//div");
if (nc != null)
foreach (HtmlNode node in nc)
if (node.Attributes["class"].Value == "dtc")