W3C home > Mailing lists > Public > www-xsl-fo@w3.org > June 2001

Re: page break

From: G. Ken Holman <gkholman@cranesoftwrights.com>
Date: Tue, 26 Jun 2001 19:47:00 -0300
Message-Id: <>
To: www-xsl-fo@w3.org
At 01/06/26 16:22 -0500, Paul Grosso wrote:
>Emmanuel Dupouy <Emmanuel.Dupouy@valtech.fr> writes:
> > Another question is how could I know the total page number. I would like to
> > put it on the bottom of each page like this : 2/30 - 3/30...
>The XSL FO Subgroup discussed this today and asked me to reply.
>You should be able to put (via your stylesheet) a zero height float
>at the end of your fo:flow and then use fo:page-number-citation to
>reference it.

Can you talk to my observation made earlier about trying this technique:

At 01/06/25 20:32 -0300, G. Ken Holman wrote:
>I cannot even float an identifier on an empty block at the end of the flow 
>because of "The before-float-reference-area is generated only if 
>the page contains one or more areas with area-class "xsl-before-float"." 
>because that technique would produce an empty area of class 
>"xsl-before-float", thus triggering any static content assigned to 
>xsl-before-float-separator when the last page could very well not have any 
>before floats.

If I have defined static content for xsl-before-float-separator, I'm 
certain the specification reads that that would have to be rendered, which 
I wouldn't want.  It doesn't mention any visible area of class 
xsl-before-float, it implies *any* area of xsl-before-float triggering the 

>(It does work in
>my implementation, and I didn't even think about this ahead of
>time, so there's a chance it will work in most implementations.)

Did you have any static content defined for xsl-before-float-separator at 
the time you ran your test?

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

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   (Fax:-0995)
Web site:     XSL/XML/DSSSL/SGML/OmniMark services, training, products.
Book:  Practical Transformation Using XSLT and XPath ISBN 1-894049-06-3
Article: What is XSLT? http://www.xml.com/pub/2000/08/holman/index.html
Next public instructor-led training:      2001-08-12,08-13,09-19,10-01,
-                                               10-04,10-22,10-29,02-02

Training Blitz: 3-days XSLT/XPath, 2-days XSLFO in Ottawa 2001-10-01/05
Received on Tuesday, 26 June 2001 18:47:23 UTC

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