As HtmlAgilityPack is yet not supported in windows phone 8.1,referencing manually in the project was a trick solution. But this is not the only problem. I could use XPath
for my past project to select nodes. Now I can see that HtmlDocumentNode.SelectNode()
function is no more(because of version compatibility may be).
what I used in my past project was similar to this
HtmlNode parent = document.DocumentNode.SelectSingleNode("//ul[@class='songs-list1']");
HtmlNodeCollection x = parent.ChildNodes;
I searched over stackoverflow and google and got an Idea that It's still possible to select nodes using Linq.
I'm seeking for a block of code which will work like SelectNodes
, SelectNode
.
Loading the HtmlDocument
asynchronously would be appreciated.
` with such `class` attribute.
– har07 Aug 12 '14 at 11:54`. Or post your HTML so we can confirm whether this code works or not.
– har07 Aug 12 '14 at 12:13