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

Re: last page and first page at the same time

From: G. Ken Holman <gkholman@CraneSoftwrights.com>
Date: Thu, 05 Dec 2002 14:00:29 -0500
Message-Id: <>
To: <www-xsl-fo@w3.org>

At 2002-12-05 21:48 +0300, Nikolai Grigoriev wrote:
>Just a suggestion: you can take the master for the first page
>out of the first fo:repeatable-page-master-alternatives,
>like this:
>The first subsequence will match if and only if there is exactly
>one page in the sequence. If there are two pages or more, the
>processing finds no suitable page-masters in the first subsequence,
>and moves to the second subsequence, skipping the first one.
>This is equivalent to your solution, but has a benefit of better
>logical separation between masters applicable to single-page
>sequences, and those applicable to multi-page ones.

I agree!  Thank you Nikolai; I had not considered the behaviour when no 
alternatives are found.

................ 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, 5 December 2002 14:00:35 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:58:27 UTC