In XML values in text() nodes.
If we write this
<numbers>1,2,3</numbers>
in element "numbers
" will be one text() node with value "1,2,3".
Native way to get many text() nodes in element is insert nodes of other types in text.
Other available types is element or comment() node.
Split with element node:
<numbers>3<_/>2<_/>1</numbers>
Split with comment() node:
<numbers>3<!---->2<!---->1</numbers>
We can select this values by this XPath
//numbers/text()
Select value by index
//numbers/text()[3]
Will return text() node with value "1"