"Web mining - using xpath"

mpminermpminer Member Posts: 1 Contributor I
edited June 2019 in Help
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()

<td class="caption">Departure airport: </td>
<td class="desc"><a href="http://www.yvr.ca/en/Default.aspx">VANCOUVER Airport </a>"Canada" </td>
Sign In or Register to comment.