Hi, how would I select the whole link when they have the next id
Use this XPath expression:
//a[@id[starts-with(.,'List_ctl')][substring(.,string-length()-5)='_link3']]
Note : in XPath 1.0 there is no fn:ends-with() . Use the last predicate instead.
user357812
source share