xsl-list
[Top] [All Lists]

Re: Subtotals by page

2005-03-14 08:51:17
Jaine_e wrote:
You haven't said what medium you are using for the
final format.



I'm using XSL-FO for the final formatting

There's no direct way to do this with XSL-FO 1.0 as there's no way to know, in the general case, when your table will go to a new page. However, if the depth of your rows is fixed and the start point of your table is consistent then you should be able to determine accurately how many rows will go on a page and therefore you can generate the "footer" row (which will just be a normal row) as part of your XSLT process.

XSL-FO 1.1 adds a new feature, table markers, which allows you to use markers in table headers and footers. This will let you do exactly what you want in a very direct way.

As mentioned by David C., you can also use some form of two-pass process depending on the features of the XSL-FO implementation you are using.

Cheers,

E.
--
W. Eliot Kimber
Professional Services
Innodata Isogen
9390 Research Blvd, #410
Austin, TX 78759
(512) 372-8122

ekimber(_at_)innodata-isogen(_dot_)com
www.innodata-isogen.com


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>