selectNodes not returning any node attributes

Topics: Developer Forum, User Forum
Apr 19, 2013 at 3:09 PM
I am doing a selectNodes like this...
currentNodeCollection = htmlDoc.DocumentNode.SelectNodes("/html/body//a")

It's returning all the nodes, but they are all text nodes with no attributes? If I look at the innerHtml of the body, I see my anchors with their attributes, any suggestions?

Thanks!
Eric