Changeset 9e2b55c for stylesheets/xhtml


Ignore:
Timestamp:
09/10/2004 05:09:42 PM (20 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
6.0
Children:
d38b5dd
Parents:
4ea4bc4
Message:

Fixed a small issue about the Index and navigational links for HTML output.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/testing/BOOK@4151 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stylesheets/xhtml/lfs-navigational.xsl

    r4ea4bc4 r9e2b55c  
    6969                </xsl:attribute>
    7070                <xsl:attribute name="title">
    71                   <xsl:value-of select="$next/title"/>
     71                  <xsl:choose>
     72                    <xsl:when test="local-name($next)='index'">
     73                      <xsl:text>Index</xsl:text>
     74                    </xsl:when>
     75                    <xsl:otherwise>
     76                      <xsl:value-of select="$next/title"/>
     77                    </xsl:otherwise>
     78                  </xsl:choose>
    7279                </xsl:attribute>
    7380                <xsl:call-template name="navig.content">
     
    7683              </a>
    7784              <p>
    78                 <xsl:value-of select="$next/title"/>
     85                <xsl:choose>
     86                  <xsl:when test="local-name($next)='index'">
     87                    <xsl:text>Index</xsl:text>
     88                  </xsl:when>
     89                  <xsl:otherwise>
     90                    <xsl:value-of select="$next/title"/>
     91                  </xsl:otherwise>
     92                </xsl:choose>
    7993              </p>
    8094            </li>
     
    161175                </xsl:attribute>
    162176                <xsl:attribute name="title">
    163                   <xsl:value-of select="$next/title"/>
     177                  <xsl:choose>
     178                    <xsl:when test="local-name($next)='index'">
     179                      <xsl:text>Index</xsl:text>
     180                    </xsl:when>
     181                    <xsl:otherwise>
     182                      <xsl:value-of select="$next/title"/>
     183                    </xsl:otherwise>
     184                  </xsl:choose>
    164185                </xsl:attribute>
    165186                <xsl:call-template name="navig.content">
     
    168189              </a>
    169190              <p>
    170                 <xsl:value-of select="$next/title"/>
     191                <xsl:choose>
     192                  <xsl:when test="local-name($next)='index'">
     193                    <xsl:text>Index</xsl:text>
     194                  </xsl:when>
     195                  <xsl:otherwise>
     196                    <xsl:value-of select="$next/title"/>
     197                  </xsl:otherwise>
     198                </xsl:choose>
    171199              </p>
    172200            </li>
Note: See TracChangeset for help on using the changeset viewer.