]> granicus.if.org Git - docbook-dsssl/commitdiff
Fixed missing titlepage and TOC in PDF bookmarks.
authorBob Stayton <bobs@sagehill.net>
Mon, 4 Oct 2004 18:59:40 +0000 (18:59 +0000)
committerBob Stayton <bobs@sagehill.net>
Mon, 4 Oct 2004 18:59:40 +0000 (18:59 +0000)
xsl/fo/docbook.xsl

index c60f5d0d92a78096fcf4e46d594a1bbc570e0584..04501944e6bc6fa3e7dcb78aaf99a843d8edfb54 100644 (file)
     <xsl:call-template name="setup.pagemasters"/>
 
     <xsl:if test="$fop.extensions != 0">
-      <xsl:apply-templates mode="fop.outline"/>
+      <xsl:apply-templates select="$document.element" mode="fop.outline"/>
     </xsl:if>
     <xsl:if test="$xep.extensions != 0">
       <xsl:variable name="bookmarks">
-        <xsl:apply-templates mode="xep.outline"/>
+        <xsl:apply-templates select="$document.element" mode="xep.outline"/>
       </xsl:variable>
       <xsl:if test="string($bookmarks) != ''">
         <rx:outline xmlns:rx="http://www.renderx.com/XSL/Extensions">