From: Eliot Kimber (ekimber@innodata-isogen.com)
Date: Tue Jan 20 2004 - 07:44:02 PST
Alexander Peshkov wrote:
> Hello Ben,
>
> Unfortunately nothing has changed since the post you refer to
> regarding subtotal calculation in XSL FO. You just can't do it.
You can't do it in XSL 1.0 within *table* headers or footers (but you
will be able to in XSL 1.1 as currently formulated).
But you *can* do it in page headers and footers.
For each row of the table, create a marker that includes the total up to
and including that row. Make sure that the row has
"keep-together-within-page" so that the cell contents don't span a page
boundary.
Then in your region-before static content, retrieve the last marker on
the page.
Depending on the nature of your data, the depth of table rows, etc., you
may need to fiddle things to make sure the markers are positioned within
the right FO to appear on the correct page.
Cheers,
Eliot
-- W. Eliot Kimber Professional Services Innodata Isogen 9030 Research Blvd, #410 Austin, TX 78758 (512) 372-8122 eliot@innodata-isogen.com www.innodata-isogen.com ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo@renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
This archive was generated by hypermail 2.1.5 : Tue Jan 20 2004 - 07:50:05 PST