Is there a way to get the text from an iOS element after accessing it By.xpath?

i did set accessibility identifier but facing issue