OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Problem using leader-pattern


Given the following DocBook and stylesheet source, why does the XEP- 
rendered
'date' component of the title precede the leader?  Note that if I  
replace the
two 'xsl:value-of's with literal text (as in Appendix A of Dave Pawson's
"XSL-FO" book), the leader separates them, as I intended.

DocBook 5.0 source:

     <itemizedlist>
       <title role="job">Possum Technologies, Consultant
       <date>2001-2008</date>
       </title>

       <listitem><para>
         ...

DocBook XSL-NS Stylesheets 1.74.0 source:

   <!-- Modified from fo/lists.xsl: -->
   <xsl:template match="d:title[@role = 'job']" mode="list.title.mode">
     <fo:block text-align-last="justify">
       <xsl:value-of select="."/>    <!-- Left-hand text -->
       <fo:leader leader-pattern="dots"/>
       <xsl:value-of select="date"/> <!-- Right-hand text -->
     </fo:block>
   </xsl:template>

Rendered:

   Possum Technologies, Consultant 2001-2008 ...............

Desired:

   Possum Technologies, Consultant ............... 2001-2008

_______________________________________________________________________

    -- Bill Greene



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]