The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

"Web mining - using xpath"

mpminermpminer Member Posts: 1 Learner III
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()

----------------------------------------------------
<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>
-------
Tagged:
Sign In or Register to comment.