HEAD: StyleSheets - fixed the flow of h* tags.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3669 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Manuel Canales Esparcia 2004-05-19 23:44:41 +00:00
parent 4032788608
commit cdb5a78776
2 changed files with 7 additions and 7 deletions

View File

@ -29,14 +29,14 @@
<xsl:if test="title"> <xsl:if test="title">
<xsl:choose> <xsl:choose>
<xsl:when test="@role = 'materials'"> <xsl:when test="@role = 'materials'">
<h2>
<xsl:value-of select="title"/>
</h2>
</xsl:when>
<xsl:otherwise>
<h3> <h3>
<xsl:value-of select="title"/> <xsl:value-of select="title"/>
</h3> </h3>
</xsl:when>
<xsl:otherwise>
<h4>
<xsl:value-of select="title"/>
</h4>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose> </xsl:choose>
</xsl:if> </xsl:if>

View File

@ -59,9 +59,9 @@
<xsl:if test="@id"> <xsl:if test="@id">
<a id="{@id}" name="{@id}"/> <a id="{@id}" name="{@id}"/>
</xsl:if> </xsl:if>
<h3 class="{name(.)}"> <h2 class="{name(.)}">
<xsl:value-of select="title"/> <xsl:value-of select="title"/>
</h3> </h2>
</div> </div>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose> </xsl:choose>