Re: XSL-FO and first/last item on page title extraction

At 2002-05-27 11:16 -0400, Colin Mackenzie wrote:
>does anyone know if there is a way with FO to extract e.g. a the first and
>last title that occurs on a page into a heading area (a common pagination
>requirement).

... that is well supported with XSLFO.

Create in your paginated flow as many <marker> elements as you have 
candidate extractions with the content you want to appear in your header.

Create in your static content for the header a <retrieve-marker> element 
that retrieves the <marker> content from the flow that actually appears on 
the page with the header.

There are options on which marker gets retrieved that you would choose from 
depending on the formatting requirement that you do not spell out in your 
initial post.

Thankfully, the designers have given us users a clean and powerful set of 
formatting semantics to accomplish this task.

I hope this helps.

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


--
Upcoming: 3-days XSLT/XPath and/or 2-days XSLFO: June 17-21, 2002
-       : 3-days XML Information Modeling: July 31-August 2, 2002

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)
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-05-06,07,09,10,13,15,20,
-                    06-04,07,10,11,13,14,17,20,07-31,08-05,27,30

Received on Monday, 27 May 2002 13:09:52 UTC