I have a number of links in a page that look like so :
<a class="plant_detail_link" href="plants/O7-01111"><h3>O7-01111</h3></a>
I can select all these link in my page with the following xpath :
//a[@class='plant_detail_link']
I can extract attributes like the class of each link in the usual manner :
//a[@class='plant_detail_link']/@class
But when I attempt to use the same technique to extract the href attribute values I get an empty list :
//a[@class='plant_detail_link']/@href
Does anyone have any ideas why this may be the case?
image detailing chrome developer console xpath execution
EDIT:
See full page html here - http://pastebin.com/MAjTt86V