]> granicus.if.org Git - docbook-dsssl/commitdiff
Attempt to workaround bug in FOP handling of step content
authorNorman Walsh <ndw@nwalsh.com>
Wed, 21 Aug 2002 15:12:51 +0000 (15:12 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Wed, 21 Aug 2002 15:12:51 +0000 (15:12 +0000)
xsl/fo/lists.xsl

index a6af5d690848131890c1a4d1c6d10904d25e7b9c..2221f34653e439fbb75d38fb69c5a5a9ee04080a 100644 (file)
     <xsl:call-template name="object.id"/>
   </xsl:variable>
 
-  <fo:list-item>
+  <fo:list-item xsl:use-attribute-sets="list.item.spacing">
     <fo:list-item-label end-indent="label-end()">
-      <fo:block id="{$id}" xsl:use-attribute-sets="list.item.spacing">
+      <fo:block id="{$id}">
         <!-- dwc: fix for one step procedures. Use a bullet if there's no step 2 -->
         <xsl:choose>
           <xsl:when test="count(../step) = 1">
 </xsl:template>
 
 <xsl:template match="step/title">
-  <fo:block font-weight="bold" xsl:use-attribute-sets="list.item.spacing">
+  <fo:block font-weight="bold">
     <xsl:apply-templates/>
   </fo:block>
 </xsl:template>