[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] creating a dot leader in fo for toc


Subject: Re: [xsl] creating a dot leader in fo for toc
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Tue, 18 May 2004 22:15:06 +0200

Paul Tremblay wrote:
I need to create a dot leader in fo and am unable to do so:

Chapter 1 ................................ 5
Chapter 2 .................................6

According to Dave Pawson's book on XSL-FO, you create this type of
leader by this code:

<fo:block
  text-align-last="justify">Chapter 10
  <fo:leader leader-pattern = "dots"/>page 25 </fo:block>

This code does not work for me. I am using Java's open implementaion of
xslt-fo known as fop.

Is the problem with fop? If so, can anyone suggest a workaround?

It should work with FOP 0.20.5. Which version are you using? See also http://xml.apache.org/fop/faq.html#leader-expansion

J.Pietschmann


Current Thread