[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Subtotals by page

Subject: Re: Subtotals by page
From: Eliot Kimber <ekimber@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 14 Mar 2005 09:51:17 -0600
sort subtotals
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.