W3C home > Mailing lists > Public > public-ppl@w3.org > March 2014

Re: Look ahead processing

From: G. Ken Holman <gkholman@CraneSoftwrights.com>
Date: Tue, 04 Mar 2014 21:12:22 -0500
Message-Id: <7.0.1.0.2.20140304211021.022f2cb0@wheresmymailserver.com>
To: public-ppl@w3.org
At 2014-03-04 21:18 -0500, Betty Harvey wrote:
>I am not sure if I have captured the subject line correctly but there is a
>need for determining the page before it has been processed.  There are
>several use cases that I can identify and I don't know of a way in XSL-FO
>to do it.  Publishing systems like Datalogics and XPP perform a second
>pass on the data in order to accomplish the look ahead.
>
>In military specification technical manuals you need to identify blank pages.
>
>Outputting blank pages on even numbered pages before the next chapter or
>work package isn't a big deal.  However, the blank page must be identified
>in the table of contents, i.e.,
>
>Page 1:  WP1
>Page 10:  WP2
>Page 20:  Blank
>
>To complicate it even further the footer page of the last page has to tell
>the user the next page is blank:
>
>Page 19 (Page 20 Blank)
>
>I realize that this is a bit antiquated in today's publishing environment
>but organizations don't have an option when delivering manuals under
>contract.
>
>There might be some clever way of doing this without a second pass on
>result tree but I haven't been able to think of it.

I've documented the approach here ... it doesn't involve look-ahead:

   http://lists.w3.org/Archives/Public/www-xsl-fo/2012Feb/0001.html

I hope this helps.

. . . . . . . . .  Ken


--
Public XSLT, XSL-FO, UBL & code list classes: Melbourne, AU May 2014 |
Contact us for world-wide XML consulting and instructor-led training |
Free 5-hour lecture: http://www.CraneSoftwrights.com/links/udemy.htm |
Crane Softwrights Ltd.            http://www.CraneSoftwrights.com/f/ |
G. Ken Holman                   mailto:gkholman@CraneSoftwrights.com |
Google+ profile:      http://plus.google.com/+GKenHolman-Crane/about |
Legal business disclaimers:    http://www.CraneSoftwrights.com/legal |


---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com
Received on Wednesday, 5 March 2014 02:13:19 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:57:26 UTC