Source

perl-begin / lib / sgml / shlomif-docbook / xsl-5-stylesheets / shlomif-db5-xhtml-mydocbook.xsl

Diff from to

lib/sgml/shlomif-docbook/xsl-5-stylesheets/shlomif-db5-xhtml-mydocbook.xsl

 <xsl:template name="generate.html.title">
 </xsl:template>
 
-<!--
 <xsl:template match="d:article" priority="1">
     <xsl:call-template name="id.warning"/>
 
             </xsl:call-template>
         </xsl:variable>
 
+        <!--Move the introduction before the ToC. -->
+        <xsl:apply-templates select="*[@role='introduction']"/>
+
         <xsl:call-template name="make.lots">
             <xsl:with-param name="toc.params" select="$toc.params"/>
             <xsl:with-param name="toc">
             </xsl:with-param>
         </xsl:call-template>
 
-        <xsl:apply-templates/>
+        <xsl:apply-templates select="*[not(@role = 'introduction')]"/>
         <xsl:call-template name="process.footnotes"/>
     </xsl:element>
 </xsl:template>
--->
 
 </xsl:stylesheet>