Find element by text with XPath in ElementTree,"print(doc.xpath('//element[text()=""A""]')[0].tag)"