[Home] [By Thread] [By Date] [Recent Entries]
At 2002-06-12 16:47 +0000, andrew.bate@xxxxxxxxx wrote:
The issue I have is that I want to detect if I am on the last page by using an <xsl:if test=""> call but don't know how to do this with the page number and page count I already have. As DaveP said, there is no test at transformation time that will give you what content is going to be on the last page at formatting time. However, you don't say *why* you want to test the last page. You can have the formatter place information differently on the last page if the differences are restricted to the page geometry (margins, regions, etc.). You can set up the last page sequence of your XSL-FO document with the conditional use of simple page masters is tested for using a particular geometry for the last page of the page sequence. That *is* known by the formatter. I hope this helps. .................. Ken
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 (Fax:-0995) ISBN 0-13-065196-6 Definitive XSLT and XPath ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath ISBN 1-894049-07-1 Practical Formatting Using XSLFO XSL/XML/DSSSL/SGML/OmniMark services, books (electronic, printed), articles, training (instructor-live,Internet-live,web/CD,licensed) Next public training: 2002-06-11,13,14,08-05,26,27,09-30,10-03 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|

Cart



