Is there any possible way to get the text value (not text node) of an element?

I want to return an array of elements' innerText property, but can't manage to do it without having a loop through the text nodes if I choose to go with text()

Code:
"//*[contains(@id, \"_usernameLink\")]@innerText"
"//*[contains(@id, \"_usernameLink\")]/innerText"
Something like that.