W3C home > Mailing lists > Public > www-xsl-fo@w3.org > November 2002

Re: problem with page-numbering

From: Oleg Tkachenko <olegt@multiconn.com>
Date: Thu, 28 Nov 2002 18:05:13 +0200
Message-ID: <3DE63EB9.9010202@multiconn.com>
To: J.Kirmse@gmx.de
CC: www-xsl-fo@w3.org

J.Kirmse@gmx.de wrote:

> i have one big xml file and one xsl stylesheet to transform into pdf.
> my xml file contains many tags for several companies to generate
> company letters. each letter can have one or more pages.
> 
> on each first page of one company letter i like to print out
> the number of pages of one letter.
> 
> i.e. first letter pages:5
>      second letter pages:3
>      and so on
> 
> i work with page-number-citation and ref-id()
> to get the whole number of pages 
> but this gives me only the whole amount of pages of all letters.
> 
> is there any way to reset page-number-citation  or
> to define every time a new ref-id() ???

Create separate fo:page-sequence for each letter, then for each page sequence 
you can reset page numbering by initial-page-number property.

-- 
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
Received on Thursday, 28 November 2002 11:05:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:10 GMT