Re: [xsl] Re: Seek an XPath expression which concatenates an arbitrary number of strings

Subject: Re: [xsl] Re: Seek an XPath expression which concatenates an arbitrary number of strings
From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 15 Mar 2024 16:28:51 -0000
On 15/03/2024 17:23, Dimitre Novatchev dnovatchev@xxxxxxxxx wrote:
In XPath 4.0 this definition is extended and the following expression
is evaluated successfully:

B B concat(for $i in 1 to 3 return $i)

and produces the expected result using BaseX v.11:

123


Great, it also seems to work in Saxon EE 12 (tested with SaxonCS 12.4):

'C:\Program Files\Saxonica\SaxonCS-12.4\SaxonCS.exe' query -qversion:4.0
-qs:"concat(1 to 10)"
<?xml version="1.0" encoding="UTF-8"?>12345678910

Current Thread