[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: Selecting non-duplicate nodes
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Wed, 12 Oct 2011 18:01:12 +0100
On 12/10/2011 17:39, Mark wrote:
Hi Michael,
When I tried:
<xsl:for-each-group select="Formats" group-by="string-join(@*/concat(name(), '=', .))">


I get the error message:
[Saxon-PE 9.3.0.5] System function string-join#1 is not available with this host language


Not sure what that means.
Mark


Sorry, in XSLT 2.0 string-join() needs a second argument (you can supply the empty string ''). The ability to omit the second argument only comes with XSLT 3.0, hence the message.


Michael Kay
Saxonica

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member