Encontre elementos do XPath com texto correspondente

Xpath=//*[contains(@type,'sub')]  
Doubtful Dotterel