How to get any text between an opening and closing node with xpath? -


i want specified text in example when used strong[3] returns airport: normally. how can airport name section xpath?

code:

<tr>   <td>     <strong>icao: </strong>kbos     <strong>&nbsp;&nbsp;iata: </strong>bos &nbsp;&nbsp;     <strong>airport:</strong> general edward lawrence logan international airport    </td> </tr> 

the part need:

general edward lawrence logan international airport  

the solution /tr/td/text()[3]


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -