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> iata: </strong>bos <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
Post a Comment