to output dummy1 dummy2 dummy3 dummy4. If you use an XSLT 1.0 processor you can check whether it supports an extension function like http://www.exslt.org/str/functions/tokenize/ or you need to write a recursive, named template splitting up the input.
In xlst 1.0 I usually use recursive call of named template, e.g.
It's on you what you need to do with parsed values, in example I construct elements with names of dummies.
Be careful about context which is changing.
If you use an XSLT 2.0 processor you can use the
tokenize
function (http://www.w3.org/TR/xpath-functions/#func-tokenize) e.g. with an input ofyou can match
to output
dummy1 dummy2 dummy3 dummy4
. If you use an XSLT 1.0 processor you can check whether it supports an extension function like http://www.exslt.org/str/functions/tokenize/ or you need to write a recursive, named template splitting up the input.