[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: XSL-FO: Accessing nodes by page
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-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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|