]> granicus.if.org Git - docbook-dsssl/commitdiff
Make sure the root element gets processed correctly so that it generates the right...
authorNorman Walsh <ndw@nwalsh.com>
Wed, 13 Jun 2001 22:04:39 +0000 (22:04 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Wed, 13 Jun 2001 22:04:39 +0000 (22:04 +0000)
xsl/html/chunk-common.xsl

index 70dccf236ee65a9633b9c42d5c20a0b8f6ac261c..a658196c3efaa032c4d740b74d735e311f36c2a4 100644 (file)
@@ -951,11 +951,15 @@ its parent.
       </xsl:choose>
     </xsl:when>
     <xsl:otherwise>
-      <xsl:apply-templates/>
+      <xsl:apply-templates select="/" mode="process.root"/>
     </xsl:otherwise>
   </xsl:choose>
 </xsl:template>
 
+<xsl:template match="*" mode="process.root">
+  <xsl:apply-templates select="."/>
+</xsl:template>
+
 <xsl:template match="set|book|part|preface|chapter|appendix
                      |article
                      |reference|refentry