Ignore:
Timestamp:
05/19/2004 08:16:58 PM (20 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
8df9f63
Parents:
28501c7
Message:

HEAD: StyleSheets - unified the identation to use spaces.

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

File:
1 edited

Legend:

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

    r28501c7 ra9e89d0  
    55                version="1.0">
    66
    7                 <!-- screen -->
     7    <!-- screen -->
    88  <xsl:template match="screen">
    99    <xsl:choose>
    10                 <!-- Temporally hack -->
     10        <!-- Temporally hack -->
    1111      <xsl:when test="child::* = userinput">
    1212        <pre class="{name(.)}">
     
    2525 
    2626  <!-- variablelist -->
    27 <xsl:template match="variablelist">
    28   <div class="{name(.)}">
    29     <xsl:if test="title">
    30         <h3>
    31         <xsl:value-of select="title"/>
    32         </h3>
    33     </xsl:if>
    34     <dl>
    35         <xsl:if test="@role">
    36         <xsl:attribute name="class">
    37                 <xsl:value-of select="@role"/>
    38                                 </xsl:attribute>
    39                         </xsl:if>
    40                         <xsl:apply-templates select="varlistentry"/>
    41     </dl>
    42   </div>
    43 </xsl:template>
     27  <xsl:template match="variablelist">
     28    <div class="{name(.)}">
     29      <xsl:if test="title">
     30        <xsl:choose>
     31          <xsl:when test="@role = 'materials'">
     32            <h3>
     33              <xsl:value-of select="title"/>
     34            </h3>
     35          </xsl:when>
     36          <xsl:otherwise>
     37            <h4>
     38              <xsl:value-of select="title"/>
     39            </h4>
     40          </xsl:otherwise>
     41        </xsl:choose>
     42      </xsl:if>
     43      <dl>
     44        <xsl:if test="@role">
     45          <xsl:attribute name="class">
     46            <xsl:value-of select="@role"/>
     47          </xsl:attribute>
     48        </xsl:if>
     49        <xsl:apply-templates select="varlistentry"/>
     50      </dl>
     51    </div>
     52  </xsl:template>
     53 
    4454</xsl:stylesheet>
Note: See TracChangeset for help on using the changeset viewer.