- <xsl:choose>
- <xsl:when test="position()<10">
- <xsl:value-of select="concat(/book/prepend_chapter,'ch',0,position(),'.html')"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="concat(/book/prepend_chapter,'ch',position(),'.html')"/>
- </xsl:otherwise>
- </xsl:choose>
+ <xsl:value-of select="concat(/book/prepend_chapter,'ch-',title_uri,'.html')"/>