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- 
'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:

       <title role="job">Possum Technologies, Consultant


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 -->


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


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


    -- Bill Greene

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