Re: [xsl] XSL-FO: Accessing nodes by page

Subject: Re: [xsl] XSL-FO: Accessing nodes by page
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 15 Dec 2006 00:23:16 GMT
> Has anyone any advice on how to achieve this. I am using the apache FOP
> processor.

In general the way you use page contents to affect the page head and
foot is to use markers. The typesetting happens (in the model at least)
before pagination so there are no "nodes" to access by that time, but
when setting the head and foot you have access to any text put
in "markers" on the page. I just noticed 9while checking the link below)
that the markers are a bit more expressive in an xsl 1.1 system, but xsl
1.0 marks should be enough for doing revision numbers, and things like
index headlines which show the word range on teh current page, etc


http://www.w3.org/TR/xsl11/

says in the status section:

This Recommendation supersedes [XSL 1.0], which was published 15 October
2001. New functionality has been added to support change marks, indexes,
multiple flows, and bookmarks. Existing functionality has been extended
in the areas of graphics scaling, "markers" and their retrieval in
tables to support e.g. partial sums, and page number referencing. The
changes made in this document are intended to meet the requirements for
XSL 1.1 described in [XSL 1.1 Requirements]. A number of errata have
been incorporated into the text


I suspect fop is 1.0 so a better ref would be the markers in that which
is:

http://www.w3.org/TR/2001/REC-xsl-20011015/slice7.html#section-N48193-Properties-for-Markers

Current Thread