Im new to using the HTML agaility pack and could do with some help...
currently i can loop though all divs with the class and display the data.... this works great and code is below
Dim webGet As New HtmlWeb() 'open the system
Dim htmlDoc As HtmlDocument = webGet.Load("http://www.site.com")'' get the html from the webpage
For Each div As Object In htmlDoc.DocumentNode.SelectNodes("//div[@class='matches']")' select all the divs within the code that contain matches
lblHTMLOutput.Text += div.InnerText & "<br>"
Now i onyl want to display certain things within those divs.... currently a line would look like this
x KUW D1 Kuwait League 43 14:55 01/30/2014 14:55 GMT 01/30/2014 14:55 Al-Jahra 0 1 - 0 Yarmouk 0
but i want it to just show Al-Jahra 1 - 0 Yarmouk
to do this i need to display it like this
For Each div As Object In htmlDoc.DocumentNode.Selec
]")' select all the divs within the code that contain matches
lblHTMLOutput.Text += <td class="home"><td> <td class="score"><td>
I need to display the class home and class score separate as i want to gather information from them and want to keep it so its looping through the div[@class='matches']
Any help would be grate