Re: [xsl] Indexing a fop generated document.

Subject: Re: [xsl] Indexing a fop generated document.
From: "Peter S. Housel" <housel@xxxxxxxx>
Date: Mon, 15 Jan 2001 16:04:55 -0800
Sebastian Rahtz <sebastian.rahtz@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> James Piva writes:
>  > I figure this is impossible, but I'll ask just
>  > for kicks.  I was wondering if there was a way
>  > to specify an Index(String...pdf page number)
>  > for a 'pdf output' before/while the
>  > formatting occurs. Like adding some code that will fill
>  > in the blank(page number) when the xml/xsl is being
>  > processed?
>
> er, its easy.  its what <fo:page-number-citation> is for. you just
> have to point to an object with an id.

That brings up the need for another XSL feature: collapsing identical
adjacent page number citations.  My documents are full of references that
look like:

  This module continues on pages 17, 17, 18, 19, 19, 20, 20, 21, 22, 22, 22,
  23, 23, 23, 23, 23, 24, 24, 24, 25, 25, 25, 25, 26, 26, 29, 30, 30,
  30, 30, 31, 31, 32, 32, 33, 33, 34, 38, 38, 39, 40, 40 and 40.

It would be nice if there were a way to fix this.

Cheers,
-Peter S. Housel-   housel@xxxxxxx   http://members.home.com/housel/



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread