Re: page break

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 6.10.1.3 "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 
before-float-reference-area.

>(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