Re: [xep-support] Running total on the bottom of each page

From: G. Ken Holman (
Date: Sat Jul 17 2004 - 07:23:26 PDT

  • Next message: King Krsna: "Re: [xep-support] How do set a block based upon the current indent plus something?"

    At 2004-07-17 12:17 +0200, wrote:
    >is it possible with XEP to print something like a running total at the
    >bottom of each page?

    Only through the use of markers.

    >I cannot solve this problem with XSLT, because during the XSLT stage I don't
    >know how many rows will fit on a page.

    Precisely, so in XSLT you calculate the running total for every line item
    and put that into a marker ... markers in the flow don't get rendered on
    the canvas, but the flow will contain the running total for every line item.

    At the bottom of each page you pull the last total marker for the page onto
    the canvas, and you end up with the running total for the page in the
    static content.

    >Any help would be really appreciated!

    A Google search on "running total XSL-FO" will turn up similar answers like:

    I hope this helps.

    ........................... Ken

    p.s. for everyone: only a few days left before the end of the early-bird
    pricing for the XSLT and XSL-FO hands-on training next month! Details on
    our home page.

    Public training 3 days XSLT & 2 days XSL-FO: Phoenix,AZ 2004-08-23
    World-wide on-site corporate, govt. & user group XML/XSL training.
    G. Ken Holman       
    Crane Softwrights Ltd.
    Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
    Male Breast Cancer Awareness
    Legal business disclaimers:
    (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    in the body of the message to from the address
    you are subscribed from.
    (*) By using the Service, you expressly agree to these Terms of Service

    This archive was generated by hypermail 2.1.5 : Sat Jul 17 2004 - 07:40:00 PDT