]> granicus.if.org Git - docbook-dsssl/commitdiff
Fixed bug where id not output if partintro present in reference element.
authorBob Stayton <bobs@sagehill.net>
Thu, 31 Mar 2005 18:38:13 +0000 (18:38 +0000)
committerBob Stayton <bobs@sagehill.net>
Thu, 31 Mar 2005 18:38:13 +0000 (18:38 +0000)
xsl/fo/refentry.xsl

index 0e057e84282e8ac4e98d7b4f5992b1bfebe8ed55..c84a3e6076c108841d661e995c9c84559f75b12f 100644 (file)
         <xsl:with-param name="master-reference" select="$master-reference"/>
       </xsl:call-template>
 
-      <xsl:apply-templates select=".." mode="reference.titlepage.mode"/>
+      <fo:block id="{$id}">
+        <xsl:apply-templates select=".." mode="reference.titlepage.mode"/>
+      </fo:block>
       <xsl:if test="title">
-        <fo:block id="{$id}">
-          <xsl:call-template name="partintro.titlepage"/>
-        </fo:block>
+        <xsl:call-template name="partintro.titlepage"/>
       </xsl:if>
       <xsl:apply-templates/>
     </fo:flow>