It depends on the context. Ideally, in order to be well-formed XML, your sequence needs a root element. Let's say <bar/>.
Beer: /bar/br[1]/preceding-sibling::text()[1]
Vodka: /bar/br[1]/following-sibling::text()[1]
Rum: /bar/br[2]/following-sibling::text()[1]
source
share