]> granicus.if.org Git - docbook-dsssl/commitdiff
Support title on step in procedure
authorNorman Walsh <ndw@nwalsh.com>
Sun, 2 Jun 2002 19:42:21 +0000 (19:42 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Sun, 2 Jun 2002 19:42:21 +0000 (19:42 +0000)
xsl/fo/lists.xsl

index ea1dff01e20d05d9ee014eaacdd199bc326b1419..61814d7a2ea6fefec0b2bda62633e4b77b8aabe1 100644 (file)
 </xsl:template>
 
 <xsl:template match="step">
-  <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
   <fo:list-item>
     <fo:list-item-label end-indent="label-end()">
       <fo:block id="{$id}" xsl:use-attribute-sets="list.item.spacing">
   </fo:list-item>
 </xsl:template>
 
+<xsl:template match="step/title">
+  <fo:block font-weight="bold" xsl:use-attribute-sets="list.item.spacing">
+    <xsl:apply-templates/>
+  </fo:block>
+</xsl:template>
+
 <!-- ==================================================================== -->
 
 <xsl:template match="segmentedlist">