I have this:
text text
So I want
You can use // to select all nodes from the current node. So //text() would select all text nodes.
//
//text()
If you wanted all t elements you would do //t. If you wanted to do do all t elements from a certain point you might then do /x/y//t.
//t
t
/x/y//t