xsl-list
[Top] [All Lists]

Re: [xsl] XSL-FO: detect page-break

2006-05-07 10:26:07
At 2006-05-07 15:16 +0200, jimmy(_at_)outerlimits(_dot_)ch wrote:
Hey
How to detect the page break in a xsl for-each?

This is not possible. There is no dependency on XSLT by XSL-FO and the XSLT process is long complete before XSL-FO even begins. There is no feedback loop, so the stylesheet writer must write the stylesheet full of contingencies on which the layout can depend.

or how to summarize up to a page break ?

Typically this is done with an extended footer, summarizing at each and every line, putting the summary values into markers, then retrieving the last marker found on each page into the footer, thus giving the appearance of a running total.

I remember having read, that it's not possible to detect a page-break ...but I'm not sure anymore.

I hope this helps.

. . . . . . . . . Ken


--
Registration open for XSLT/XSL-FO training: Wash.,DC 2006-06-12/16
Also for XSLT/XSL-FO training:    Minneapolis, MN 2006-07-31/08-04
Also for XML/XSLT/XSL-FO training:Birmingham,England 2006-05-22/25
Also for XSLT/XSL-FO training:    Copenhagen,Denmark 2006-05-08/11
World-wide on-site corporate, govt. & user group XML/XSL training.
G. Ken Holman                 mailto:gkholman(_at_)CraneSoftwrights(_dot_)com
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
Male Cancer Awareness Aug'05  http://www.CraneSoftwrights.com/s/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>