Re: problem with page-numbering

At 2002-11-28 09:38 -0500, 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.

I'm assuming that you are starting each letter in a page sequence with an 
initial-page-number="1" to reset it each time.

>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.

Put a unique id= at the end of each letter ... when you cite each id in the 
summary, it uses the page number as calculated in that page sequence, so 
you should be getting what you want.

I hope this helps.

........................ Ken


--
Upcoming hands-on in-depth XSLT/XPath and/or XSL-FO:
-                             North America:  Feb 3 - Feb 7,2003

G. Ken Holman               mailto:gkholman@CraneSoftwrights.com
Crane Softwrights Ltd.        http://www.CraneSoftwrights.com/f/
Box 266, Kars, Ontario CANADA K0A-2E0  +1(613)489-0999 (F:-0995)
ISBN 0-13-065196-6                     Definitive XSLT and XPath
ISBN 0-13-140374-5                             Definitive XSL-FO
ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath
ISBN 1-894049-10-1             Practical Formatting Using XSL-FO
Next conference training:                    2002-12-08,03-03,06

Received on Thursday, 28 November 2002 11:58:27 UTC