This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
skipping page numbers in fo
- From: Lance Frohman <frohman at pacbell dot net>
- To: XSL-List at lists dot mulberrytech dot com
- Date: Wed, 23 Jan 2002 18:19:16 -0800
- Subject: [xsl] skipping page numbers in fo
- Reply-to: xsl-list at lists dot mulberrytech dot com
I am trying to alter the page sequence of a report generated by fop.
The relevant code is:
<fo:block background-color="#cccccc" text-align="start" font-size="8pt"
font-family="Helvetica">
<xsl:text>Page </xsl:text>
<fo:inline><fo:page-number/></fo:inline>
<xsl:text> of </xsl:text>
<fo:inline><fo:page-number-citation
ref-id="last-page-number"/></fo:inline>
</fo:block>
this is inside
<fo:page-sequence ...><fo:flow ...>
tags.
What I want to do is skip certain pages (separator pages) and not include
them in the page sequence, i.e. (--------------------- represents a new
page)
---------------------
AA header
page 1 of 5
---------------------
AA header
page 2 of 5
---------------------
(separator page)
---------------------
BB header
page 3 of 5
---------------------
(separator page)
---------------------
CC header
page 4 of 5
---------------------
CC header
page 5 of 5
---------------------
Is there a way to do this with fo, without resetting the fo:page-sequence
initial-page-number="1"
attribute?
Thanks.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list