Changeset 946abe26 for stylesheets/lfs-xsl
- Timestamp:
- 01/12/2019 09:42:44 AM (5 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 8.4, 9.0, 9.1, bdubbs/svn, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 02790b1
- Parents:
- 469bb220
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
stylesheets/lfs-xsl/xhtml/lfs-sections.xsl
r469bb220 r946abe26 132 132 </xsl:template> 133 133 134 <!-- sect3: treat as sect2 (for Python and Perl modules 135 When there is a role attibute, use it as the class value. 136 Removed unused code. --> 137 <!-- The original template is in {docbook-xsl}/xhtml/sections.xsl --> 138 <xsl:template match="sect3"> 139 <div> 140 <xsl:choose> 141 <xsl:when test="@role"> 142 <xsl:attribute name="class"> 143 <xsl:value-of select="@role"/> 144 </xsl:attribute> 145 </xsl:when> 146 <xsl:otherwise> 147 <xsl:attribute name="class"> 148 <xsl:value-of select="name(.)"/> 149 </xsl:attribute> 150 </xsl:otherwise> 151 </xsl:choose> 152 <xsl:call-template name="language.attribute"/> 153 <xsl:call-template name="sect3.titlepage"/> 154 <xsl:apply-templates/> 155 </div> 156 </xsl:template> 157 134 158 <!-- sect1info mode svn-keys: 135 159 Self-made template to process SVN keywords found in sect1info. -->
Note:
See TracChangeset
for help on using the changeset viewer.