Getting Text from Parent element while Text in Child exists

I’m facing some issue, which I refuse to believe can’t be handled by Browser library.

The structure of the page is something like that:

<span1>
    <span2>text</span2>
another text
</span2>

Now…
“GET TEXT //span1” retrieves textanothertext which is not good.
I was trying to use GET PROPERTY but properties which store another text value are not found by Browser (i.e. ChildNodes.NodeValue) or maybe I’m using it wrong.

I feel like I’m missing something really simple here…