Ben Trafford wrote:
<xsl:template match="entry.link">
<xsl:choose>
<xsl:when test="position() = 1">
SEE ALSO: <i><a
href="#{(_at_)to(_dot_)entry}"><xsl:apply-templates/></a>; </i>
</xsl:when>
<xsl:when test="position() = last">
last is a function. position() = last()
<i><a
href="#{(_at_)to(_dot_)entry}"><xsl:apply-templates/></a>.</i>
</xsl:when>
<xsl:when test="(not(position() = 1)) or
(not(position() = last))" >
instead of xsl:when you want xsl:otherwise (no test or anything)
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list