xsl-list
[Top] [All Lists]

Re: [xsl] Selecting non-duplicate nodes

2011-10-12 12:01:23
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--