fn:string-join
string-join($arg1 as xs:string*) ➔ xs:string
Concatenates all the strings in the given sequence, with no separator.
Arguments | |||
| $arg1 | xs:string* | A sequence of strings to be joined into one |
Result | xs:string |
string-join($arg1 as xs:string*, $arg2 as xs:string) ➔ xs:string
Concatenates all the strings in the given sequence, separated by the given separator.
Arguments | |||
| $arg1 | xs:string* | 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
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.