Re: [xsl] maximum-repeats?

Subject: Re: [xsl] maximum-repeats?
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 13 Dec 2007 11:06:06 -0500
At 2007-12-13 10:39 -0500, Robert Austin wrote:
Included, as well as pasted below is an fo document. It is commented to
describe the intent of individual code blocks. Basically, I'd like a
special page-master to be used for the last page if there are 2,3 or 4
pages. I'd also like the same special page-master to be used on the 5th
page if there are more than 4 pages. In other words, I must use a
special page master in the document. I mustn't be later than the 5th
page, and I'd like it to be as late in the document as possible. The
test case tries to use repeatable-page-master-alternatives to accomplish
this, but the maximum-repeats attribute seems to be ignored. Can anyone
offer some assistance?

What you wrote looks good to me, so I tested it and it worked as expected in both Antenna House and RenderX products.


Which tool are you using?

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

--
Comprehensive in-depth XSLT2/XSL-FO1.1 classes: Austin TX,Jan-2008
World-wide corporate, govt. & user group XML, XSL and UBL training
RSS feeds:     publicly-available developer resources and training
G. Ken Holman                 mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
Male Cancer Awareness Nov'07  http://www.CraneSoftwrights.com/s/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal

Current Thread