Hello: 

I'm trying to generate a TOC.  The following code works up to a point - all the 
TOC items output correctly except for the last one, which won't print the page 
number at the end of the leader pattern.

Does anyone know how to get that last page number to print?  (Also, does anyone 
know how to get the leader pattern to output evenly?)

Here's the code:

<xsl:template match="register" mode="toc">
  <fo:block font-size="9pt" text-align-last="justify">
    <xsl:value-of select="reg_name"/>
          <fo:leader leader-pattern="dots"/>
          <fo:page-number-citation ref-id="{generate-id(.)}"/>
  </fo:block> 
</xsl:template>


Here's what it outputs:

Table of Contents
Control Register.........................................................4
ECCConfiguration.....................................................5
ECCInterrupt.............................................................6
ECCAddress..............................................................7
BIST Control Register................................................8
BIST Result Register..................................................

Cheers

Jon Steeves

(604) 415-6053 ext. 2139
[EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to