fn:string-join

string-join($arg1 as xs:anyAtomicType*) ➔ xs:string

Returns a string created by concatenating all the items in the given sequence (casting each item to a string), with no separator.

Arguments

 

$arg1

xs:anyAtomicType*

A sequence of strings to be joined into one

Result

xs:string

string-join($arg1 as xs:anyAtomicType*, $arg2 as xs:string) ➔ xs:string

Returns a string created by concatenating all the items in the given sequence (casting each item to a string), separated by the given separator.

Arguments

 

$arg1

xs:anyAtomicType*

A sequence of strings to be joined into one

 

$arg2

xs:string

The separator to be used between adjacent strings

Result

xs:string

Namespace

http://www.w3.org/2005/xpath-functions

Links to W3C specifications

XPath 2.0 Functions and Operators

XPath 3.0 Functions and Operators

XPath 3.1 Functions and Operators

Notes on the Saxon implementation

The single-argument form of this function is specified in XPath 3.0, and is available since Saxon 9.3, provided XPath 3.0 is enabled. Note that the default separator is a zero-length string, not a single space.