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)
