Hello,

Is there any 'good' method to select the last() value?

currently, im using

<xsl:for-each select="./Books/Book">
<xsl:if test="position() = last()">
The last book name is <xsl:value-of select="./BookName"/>
</xsl:if>
</xsl:for-each>