"Web mining - using xpath"

mpminer
mpminer New Altair Community Member
edited November 5 in Altair RapidMiner
I have this below XML wherein i wanted to pick up the anchor tag "VANCOUVER Airport Canada" instead of the URL. Tried using the following in RapidMiner but no luck...

//h:*[contains(.,'Departure airport:')]/../h:td[2]/a and also
//h:*[contains(.,'Departure airport:')]/../h:td[2]/a/text()

----------------------------------------------------
<tr>
<td class="caption">Departure airport: </td>
<td class="desc"><a href="http://www.yvr.ca/en/Default.aspx">VANCOUVER Airport </a>"Canada" </td>
</tr>
-------