[XSL] Problem with tables and page breaks : how to insert a summary ?

M

Mathieu CARTOIXA

Hi all,

I am currently developing an application that should be able to print
bank accounts histories. As the input data are formatted in XML, the obvious
technical solution retained was to use a XSL transformation (possibly
XSL-FO) on the data, and print the result.
The problem is the following : the result shall be presented in a table,
a single row corresponding to a single transaction (with its date, its
value, etc...). If the history is too long to fit in a single page, then the
table shall be splitted over two or more pages (which is easy to achieve),
but a current balance for the account (acting as a summary for the current
page) shall be appended in the last row of each page to be continued, and
inserted in the first row of each continuing page (I hope i am making sense
here...). And I have found no way to achieve this with the XSL technology,
even in theory (I mean reading the W3C recommendation).
I have found no way to automatically insert or append a row when a page
break occurs in a table, and I have found no way either, when building the
table, to determine the current position in the page (which could help to
decide when to append the specific row). The only information I have found
on the subject (http://www.dpawson.co.uk/xsl/sect3/N8922.html#d1128e222)
does not seem to be applyable to this case, as our pages also contain
footers...

Any help highly appreciated...

Mathieu CARTOIXA
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,754
Messages
2,569,525
Members
44,997
Latest member
mileyka

Latest Threads

Top