I\'m using construction like this:
doc = parse(url).getroot() links = doc.xpath(\"//a[text()=\'some text\']\")
But I need to select all lin
You can use the starts-with() function:
doc.xpath("//a[starts-with(text(),'some text')]")