xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Subtotals by page


Subject: Re: [xsl] Subtotals by page
From: Eliot Kimber <ekimber@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 14 Mar 2005 09:51:17 -0600

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@xxxxxxxxxxxxxxxxxxx
www.innodata-isogen.com


Current Thread
Keywords
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor