[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: XSL-FO: Accessing nodes by page

Subject: RE: XSL-FO: Accessing nodes by page
From: "Philip Vallone" <philip.vallone@xxxxxxxxxxx>
Date: Sat, 16 Dec 2006 08:21:04 -0500
xslfo page head
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.