XSL stylesheet 3

<xsl:stylesheet version='1.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform' >
<xsl:template match="/">
<TABLE>
<xsl:for-each select="//chapter">
<TR><TD>
<xsl:value-of select="."/>
<xsl:text> (last = </xsl:text>
<xsl:value-of select="last()"/>
<xsl:text> )</xsl:text> </TD></TR>
</xsl:for-each>
</TABLE>
</xsl:template>
</xsl:stylesheet>