+ <xsl:choose>
+ <xsl:when test="@class='index'">
+ <h3 id="{@id}" class="{@class}">
+ <xsl:value-of select="title"/>
+ </h3>
+ </xsl:when>
+ <xsl:otherwise>
+ <h3 id="{@id}" class="{@class}">
+ <xsl:value-of select="concat(position(),'. ',title)"/>
+ </h3>
+ </xsl:otherwise>
+ </xsl:choose>