locked
Windows Store App - HtmlAgilityPack SelectNodes RRS feed

  • Question

  • Im new at c#. I want to parse Html pages. The articles  about HtmlAgilityPack for windows form app. This code region isn't work.

    HtmlNodeCollection basliklar = dokuman.DocumentNode.SelectNodes("//div[@id='contextual']");

    And the explanation of the error "

    'HtmlAgilityPack.HtmlNode' does not contain a definition for 'SelectNodes' and no extension method 'SelectNodes' accepting a first argument of type 'HtmlAgilityPack.HtmlNode' could be found (are you missing a using directive or an assembly reference?)"
    Sunday, August 25, 2013 4:41 PM

Answers