I generated by a for each the following field: 214.2+428.4+end
I have used substring-before(prices,\'+end\') but this is a string.
Any ideas how I can take the 2
I would suggest you try it this way:
XSLT 1.0
Applied to your example input, the result will be:
64.6