Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.

"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.