After converting to DocBook 5, I noticed that my FOP output no longer has 
orderedlist or itemizedlist titles, even if I use the DocBook stylesheets. I 
guess that's because the <title> element is now within an <info> element, which 
is discarded.

My current template for orderedlist/itemized list titles looks like this:

        <xsl:template match="d:orderedlist/d:title | d:itemizedlist/d:title "
                             mode="list.title.mode">
          <fo:block font-size="10pt"
                                         font-weight="bold"
                                         font-style="italic"
                                 space-before="7pt"
                                 space-after="0pt"
                                 keep-with-next.within-column="always" >
            <xsl:apply-templates/>
          </fo:block>
        </xsl:template>

I've tried changing it to this, with no success:

        <xsl:template match="d:orderedlist/d:info/d:title | 
d:itemizedlist/d:info/d:title "
                             mode="list.title.mode">
          <fo:block font-size="10pt"
                                         font-weight="bold"
                                         font-style="italic"
                                 space-before="7pt"
                                 space-after="0pt"
                                 keep-with-next.within-column="always" >
            <xsl:apply-templates/>
          </fo:block>
        </xsl:template>

Thanks in advance for your help.

Regards,
Jeff Powanda
Vocera Communciations, Inc.



Reply via email to