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