This XPath expression:
concat(
substring-after(
substring-before(
/block1/tag/value,
' '
),
'/'
),
' ,',
substring-after(
/block1/tag/value,
' '
)
)
Or this XSLT stylesheet:
,
And a simple XPath 2.0 expression:
replace(/block1/tag/value,'/([^ ]* )(.*)','$1,$2')