Changeset d60cd837 for stylesheets/lfs-xsl
- Timestamp:
- 02/03/2019 06:37:53 PM (5 years ago)
- Branches:
- elogind
- Children:
- 4d176c4f
- Parents:
- 8f6f10e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
stylesheets/lfs-xsl/xhtml/lfs-sections.xsl
r8f6f10e rd60cd837 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.