Changeset a9e89d0 for stylesheets/xhtml/lfs-mixed.xsl
- Timestamp:
- 05/19/2004 08:16:58 PM (20 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
stylesheets/xhtml/lfs-mixed.xsl
r28501c7 ra9e89d0 5 5 version="1.0"> 6 6 7 7 <!-- screen --> 8 8 <xsl:template match="screen"> 9 9 <xsl:choose> 10 10 <!-- Temporally hack --> 11 11 <xsl:when test="child::* = userinput"> 12 12 <pre class="{name(.)}"> … … 25 25 26 26 <!-- 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 44 54 </xsl:stylesheet>
Note:
See TracChangeset
for help on using the changeset viewer.