]> granicus.if.org Git - docbook-dsssl/commitdiff
Change formal.object template to pass $placement parameter
authorBob Stayton <bobs@sagehill.net>
Thu, 12 Dec 2002 22:40:50 +0000 (22:40 +0000)
committerBob Stayton <bobs@sagehill.net>
Thu, 12 Dec 2002 22:40:50 +0000 (22:40 +0000)
to formal.object.heading template.

xsl/fo/formal.xsl

index 110bee4718dbe487ef7742ffa3cac8908b486997..b1a589573e8a3d5a4a3886a87bfbaae02fbc8bf5 100644 (file)
   <fo:block id="{$id}"
             xsl:use-attribute-sets="formal.object.properties">
     <xsl:if test="$placement = 'before'">
-      <xsl:call-template name="formal.object.heading"/>
+      <xsl:call-template name="formal.object.heading"> 
+        <xsl:with-param name="placement" select="$placement"/> 
+      </xsl:call-template> 
     </xsl:if>
     <xsl:apply-templates/>
     <xsl:if test="$placement != 'before'">
-      <xsl:call-template name="formal.object.heading"/>
+      <xsl:call-template name="formal.object.heading"> 
+        <xsl:with-param name="placement" select="$placement"/> 
+      </xsl:call-template> 
     </xsl:if>
   </fo:block>
 </xsl:template>