]> granicus.if.org Git - docbook-dsssl/commitdiff
In abstract, only call title template if it has a title child.
authorBob Stayton <bobs@sagehill.net>
Sun, 19 Sep 2004 00:41:35 +0000 (00:41 +0000)
committerBob Stayton <bobs@sagehill.net>
Sun, 19 Sep 2004 00:41:35 +0000 (00:41 +0000)
xsl/fo/block.xsl

index 749dad9ab3f8d1af5526cc3ba80784b3526d9763..e56f5ff4123795598a865fa45c3c681cb700a9b7 100644 (file)
     <xsl:if test="@id">
       <xsl:attribute name="id"><xsl:value-of select="@id"/></xsl:attribute>
     </xsl:if>
-    <xsl:call-template name="formal.object.heading"/>
+    <xsl:if test="title">
+      <xsl:call-template name="formal.object.heading"/>
+    </xsl:if>
     <xsl:apply-templates/>
   </fo:block>
 </xsl:template>