How does this XPATH query differentiate?
- by Soham
I am kind of repeating this question because mostly due to my own ignorance, I could not fully understand the innards.
Given this HTML snippet
<td valign=top class="tim_new"><a href="/stocks/company_info/pricechart.php?sc_did=MI42" class="tim_new">3M India</a></td> <td class="tim_new" valign=top><a href='/stocks/marketstats/indcomp.php?optex=NSE&indcode=Diversified' class=tim>Diversified</a></td>
How does this XPATH //a[@class='tim_new'] differentiate between line 1 and line 2.