[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] EXSLT set:distinct


Subject: [xsl] EXSLT set:distinct
From: Richard Lewis <richardlewis@xxxxxxxxxxxxxx>
Date: Tue, 19 Oct 2004 18:41:11 +0100

Hello again XSLers,

I'm using Xalan 2.6 and when I use the EXSLT set:distinct() function with an exslt:node-set() result as a parameter I get a Java error:

XSLT Error (javax.xml.transform.TransformerException): org.apache.xml.utils.WrappedRuntimeException: java.lang.NoSuchMethodException: For extension function, could not find method org.apache.xml.utils.NodeVector.distinct([ExpressionContext,] ).

<xsl:for-each select="set:distinct(exslt:node-set($matched-items)/item)">

Is this right?

Cheers,
Richard


Current Thread