You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Rick Bullotta <ri...@lighthammer.com> on 2002/04/12 18:37:34 UTC
Count() function or xalan:distinct() extension function broken in post 2.3.1 builds?
The following expression evaluated properly in 2.3.1 and earlier, and
returns, of all things "-1" in the latest nightly build.
<xsl:variable name="UniqueSystemIDCount"
select="count(xalan:distinct(/Rowsets/Rowset/Row/System))"/>
Rick Bullotta
CTO
Lighthammer Software (www.lighthammer.com)
last() function does not work properly in a nodeset returned from xalan:distinct() extension function broken in post 2.3.1 builds
Posted by Rick Bullotta <ri...@lighthammer.com>.
The following will return "-1" for last():
<xsl:for-each select="xalan:distinct(/Rowsets/Rowset/Row/System)">
<xsl:value-of select="position()"/> of <xsl:value-of select="last()"/>
</xsl:for-each>
Rick Bullotta
CTO
Lighthammer Software (www.lighthammer.com)