case sensitive text in xpath code example Example: case sensitive text in xpath /html/body//text()[contains(translate(., 'TES', 'tes'), 'test')]