]> granicus.if.org Git - docbook-dsssl/commitdiff
For procedure object.title.template, use formal only if title
authorBob Stayton <bobs@sagehill.net>
Mon, 26 Apr 2004 16:13:31 +0000 (16:13 +0000)
committerBob Stayton <bobs@sagehill.net>
Mon, 26 Apr 2004 16:13:31 +0000 (16:13 +0000)
actually present.

xsl/common/gentext.xsl

index 07fc9305b5e13f4205d731a547afb9fb0cc9f542..965f9e48f6ce469681d053772ce8e2bb030294ed 100644 (file)
@@ -93,7 +93,7 @@
 
 <xsl:template match="procedure" mode="object.title.template">
   <xsl:choose>
-    <xsl:when test="$formal.procedures != 0">
+    <xsl:when test="$formal.procedures != 0" and title>
       <xsl:call-template name="gentext.template">
         <xsl:with-param name="context" select="'title'"/>
         <xsl:with-param name="name">