Stripped chapter numbers from reference text
authorNigel Metheringham <nigel.metheringham@dev.intechnology.co.uk>
Thu, 8 Jul 2010 12:01:41 +0000 (13:01 +0100)
committerNigel Metheringham <nigel.metheringham@dev.intechnology.co.uk>
Thu, 8 Jul 2010 12:01:41 +0000 (13:01 +0100)
templates/wrapper.xsl

index 64d08c5d59e93f7a024c6bac23e388436fd4ad48..313280c60fcab713264910f7f1b881a941817e56 100644 (file)
                <xsl:when test="@section_id">
                   <xsl:choose>
                      <xsl:when test="@longref">
-                        <xsl:value-of select="concat(@chapter_id,'. ',@chapter_title,'[',@section_title,']')"/>
+                        <xsl:value-of select="concat(@chapter_title,'[',@section_title,']')"/>
                      </xsl:when>
                      <xsl:otherwise>
                         <xsl:value-of select="concat(@chapter_id,'.',@section_id)"/>
                <xsl:otherwise>
                   <xsl:choose>
                      <xsl:when test="@longref">
-                        <xsl:value-of select="concat(@chapter_id,'. ',@chapter_title)"/>
+                        <xsl:value-of select="@chapter_title"/>
                      </xsl:when>
                      <xsl:otherwise>
                         <xsl:value-of select="@chapter_id"/>