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

RE: Look ahead processing

From: Kevin Brown <kevin@renderx.com>
Date: Tue, 4 Mar 2014 17:14:04 -0800
To: "'Betty Harvey'" <harvey@eccnet.com>, <public-ppl@w3.org>
Message-ID: <021301cf3810$337b3b20$9a71b160$@com>
> 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.

It can certainly be done in a pass (meaning modification) of the result tree
without reformatting results. 

Kevin

-----Original Message-----
From: Betty Harvey [mailto:harvey@eccnet.com] 
Sent: Tuesday, March 04, 2014 6:18 PM
To: public-ppl@w3.org
Subject: Look ahead processing

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.

Betty



/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Betty Harvey                         | Phone:  410-787-9200  FAX: 9830
Electronic Commerce Connection, Inc. |
harvey@eccnet.com                    | Washington,DC XML Users Grp
URL:  http://www.eccnet.com          | http://www.eccnet.com/xmlug
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/
Member of XML Guild (www.xmlguild.org)
Received on Wednesday, 5 March 2014 01:14:32 UTC

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