string-join

www.altova.com Print this Topic Previous Page Up One Level Next page

Home >  Functions > Function Library Reference > core | aggregate functions >

string-join

Concatenates all the values of the input sequence into one string delimited by whatever string you choose to use as the delimiter. The string-join of an empty set is the empty string. Not available in XSLT1.

fn-strjoin

The example below contains four separate customer numbers 2 4 6 and 8. The constant character supplies a hash character "#" as the delimiter.

 

Result = 2#4#6#8

agg-str-join

If you do not supply a delimiter, then the default is an empty string, i.e. no delimiter of any sort. Result = 2468.


© 2019 Altova GmbH