Subject: RE: [xsl] XSL-FO: Accessing nodes by page From: "Philip Vallone" <philip.vallone@xxxxxxxxxxx> Date: Sat, 16 Dec 2006 08:21:04 -0500 |
Thank you for your help! Phil -----Original Message----- From: David Carlisle [mailto:davidc@xxxxxxxxx] Sent: Thursday, December 14, 2006 7:23 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: [xsl] XSL-FO: Accessing nodes by page > 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-Proper ties-for-Markers
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XSL-FO: Accessing nodes b, David Carlisle | Thread | Re: [xsl] XSL-FO: Accessing nodes b, J.Pietschmann |
[xsl] Re: group-by sorting and pagi, Robert Wilkins | Date | [xsl] Behavior of document() Functi, Roger L. Cauvin |
Month |