Re: [xsl] XSL-FO Footnotes

Subject: Re: [xsl] XSL-FO Footnotes
From: Oleg Tkachenko <olegt@xxxxxxxxxxxxx>
Date: Mon, 21 Oct 2002 12:03:52 +0200
Anthony Jones wrote:

I am trying to create a PDF document from an XML document by running it
through XSLT and Apache-FOP or XEP.
I have it working except for one thing.  On a single page, there may be more
than one reference to the same footnote, so I create a footnote tag for each
one.  The problem is, since you don't know where the page breaks are going
to be when running through the XSLT process, I end up with duplicate
footnotes on a page.  For instance, if I have three references to footnote
(1) on page 2, then at the bottom of page 2, there are three footnotes.

Is there any way to solve this, or is there an assumption that there will be
only one reference to each footnote in a single document.

afaik xsl 1.0 doesn't support detached footnote references, fo:footnote
formatting object generates both footnode reference and body. You can try to
generate only one footnote and ask for keeping some block, containing all your footnote references on the same page, or may be markers can help you, not sure.

Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel

XSL-List info and archive:

Current Thread