Re: problem with page-numbering

Oleg Tkachenko <[email protected]>
Newsgroups gmane.text.xml.xsl.general
Organization Multiconn Technologies
Message-ID <[email protected]>
[email protected] 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.