You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Meena <me...@wipro.com> on 2001/12/28 07:45:20 UTC

Regarding TOC

hi,
i've got an xsl that has the following block
<fo:table-cell>
       <fo:block text-align="start">
       <fo:basic-link internal-destination="{generate-id(.)}" >
         <xsl:apply-templates select="." mode="chapter-title"/>
       </fo:basic-link>
       <fo:leader leader-pattern="dots" leader-pattern-width="5pt" leader-alignment="reference-area"/>
       
       </fo:block>
</fo:table-cell>
This is a part of the template that creates the TOC. I want the output to be something like this

Chapter1...........................................................1
   Section1.........................................................2
   Section2.........................................................3
Chapter2............................................................4

But i'm not getting in the above format. My output presently looks like
Chapter1                                                             1
   Section1                                                           2
   Section2                                                           3
Chapter2                                                              4

Please help me.

Regds,
Meena