]> granicus.if.org Git - docbook-dsssl/commitdiff
Added title parameter to formal.object.heading since the
authorBob Stayton <bobs@sagehill.net>
Sun, 11 Apr 2004 22:11:25 +0000 (22:11 +0000)
committerBob Stayton <bobs@sagehill.net>
Sun, 11 Apr 2004 22:11:25 +0000 (22:11 +0000)
match="abstract" template is trying to use it with such
a parameter.

xsl/html/formal.xsl

index 8245f4c8e93209ac9d2c3f4a20caecdedde16b29..55e319cff4899bcfceb85d5c73aadb60ab98936f 100644 (file)
 
 <xsl:template name="formal.object.heading">
   <xsl:param name="object" select="."/>
+  <xsl:param name="title">
+    <xsl:apply-templates select="$object" mode="object.title.markup">
+      <xsl:with-param name="allow-anchors" select="1"/>
+    </xsl:apply-templates>
+  </xsl:param>
+
   <p class="title">
     <b>
-      <xsl:apply-templates select="$object" mode="object.title.markup">
-        <xsl:with-param name="allow-anchors" select="1"/>
-      </xsl:apply-templates>
+      <xsl:copy-of select="$title"/>
     </b>
   </p>
 </xsl:template>