Ignore:
Timestamp:
08/30/2004 07:47:54 PM (20 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
6.0
Children:
debdf46
Parents:
c675d8c
Message:

Numbered sections for HTML output.

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

File:
1 edited

Legend:

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

    rc675d8c ra988510  
    7373  </xsl:template>
    7474
    75    <!-- Sect1 attributes -->
    76   <xsl:template match="sect1">
    77     <div>
    78       <xsl:choose>
    79         <xsl:when test="@role">
    80           <xsl:attribute name="class">
    81             <xsl:value-of select="@role"/>
    82           </xsl:attribute>
    83         </xsl:when>
    84         <xsl:otherwise>
    85           <xsl:attribute name="class">
    86             <xsl:value-of select="name(.)"/>
    87           </xsl:attribute>
    88         </xsl:otherwise>
    89       </xsl:choose>
    90       <xsl:call-template name="language.attribute"/>
    91       <xsl:call-template name="sect1.titlepage"/>
    92       <xsl:apply-templates/>
    93       <xsl:call-template name="process.chunk.footnotes"/>
    94     </div>
    95   </xsl:template>
    96 
    97     <!-- Sect2 attributes -->
    98   <xsl:template match="sect2">
    99     <div>
    100       <xsl:choose>
    101         <xsl:when test="@role">
    102           <xsl:attribute name="class">
    103             <xsl:value-of select="@role"/>
    104           </xsl:attribute>
    105         </xsl:when>
    106         <xsl:otherwise>
    107           <xsl:attribute name="class">
    108             <xsl:value-of select="name(.)"/>
    109           </xsl:attribute>
    110         </xsl:otherwise>
    111       </xsl:choose>
    112       <xsl:call-template name="language.attribute"/>
    113       <xsl:call-template name="sect2.titlepage"/>
    114       <xsl:apply-templates/>
    115       <xsl:call-template name="process.chunk.footnotes"/>
    116     </div>
    117   </xsl:template>
    118 
    11975</xsl:stylesheet>
Note: See TracChangeset for help on using the changeset viewer.