You can use initial-page-number="1" on every fo:page-sequence. Your
intuition about using position() to generate unique ids is good. HTH

On 30.03.2006 22:50:29 Noll, Jeffrey T           HS wrote:
> I'm generating a single PDF that contains multiple invoices. The invoices
> each have a separate page count. I want the page counts on each invoice in
> the PDF to be relative to only itself.
> 
>       IE the 3rd invoice has 2 pages so should show page 1 of 2 and 2 of 2
> in their headers.
> 
> Is there an easy way of doing this? Using position() to dynamically create
> an fo:block that has the position() as part of the id to uniquely handle the
> last page. But I'm not sure how to get the relative current page.
>       Any ideas appreciated,


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to