W3C home > Mailing lists > Public > xsl-editors@w3.org > October to December 2000

fo:if ! feature request

From: Dave Pawson <daveP@dpawson.freeserve.co.uk>
Date: Sat, 30 Dec 2000 16:50:49 +0000
Message-Id: <4.3.1.2.20001230164305.00bbe830@127.0.0.1>
To: xsl-editors@w3.org
Not sure its 1.0, but definately for 1.1/2.0, whichever is next.


Use case:

We (RNIB, www.rnib.org.uk) print large print bank statements for 
our customers.

I had to pass when a chance came up to use XML/XSL-FO because a simple
requirement could not be met.

The table of date/item/amount has, at the top of each page a 'sum' of
transactions to date.
NO NOT IN THE HEADER. fo:marker won't do it.

In the body of the content, I needed a simple calculation to say
'transactions to date' . XSLT allows me to calculate it, but XSL won't
allow me to add the content at the right time.

We need interaction with the formatter. 

Requirement.
That it be possible to interface with the formatter to insert content
as and when 'top of new page' is true.

Syntax down to you, I envisage something like

<fo:if test="top-of-page">
   <fo:block/>
</fo:if>

I want the conditional block to be available as and when the formatter
has determined that a new page is 'about to start', so I can get my
odd bits in at the right place.


If I'm not clear in the requirement/use case, please come back to me
with questions.

I would appreciate an acknowledgement.

Regards DaveP
AC RNIB.
Received on Saturday, 30 December 2000 11:52:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:51 GMT