In my vb.net code, I do this to retrieves nodes :
Dim nodesTC As HtmlNodeCollection = docTC.DocumentNode.SelectNodes("//td[@class='myproduct']")
now lets say there are 2 td class 'myProduct' ..
both <td> will have all the same nodes because they are repeted for every product right so far...
if I do :
For Each nodeTC As HtmlNode In nodesTC
well because there are 2 same node in the Htmldocument (because of the 2 products with nodes name repeated) I will always get the same price duplicated because Im pretty sure my code passes on the same twice.. I need a way to remove or skip every time i go to next product... or to create a list of(integer) and I would go at item.index + 1 you know ?
... can you help me ? I hope my question is clear..