Hi Mirko,

when you provide the partial sums within the XML, you can work with markers.
This would look like this:

// -- the items all have a partialSum
<xsl:for-each select="item">
          <fo:marker marker-class-name="carry">
            <xsl:value-of select="partialSum"/>

// -- find the last partial sum on the page and display on page bottom
<fo:static-content flow-name="xsl-region-after"> 
  <fo:block text-align="right"> 
    <xsl:text>carry from this page: </xsl:text>
        <fo:retrieve-marker     retrieve-class-name="carry" 

I hope, this will help a little bit (you can find many samples etc. on the
web just using google).


# -----Ursprüngliche Nachricht-----
# Von: Mirko Sertic [mailto:[EMAIL PROTECTED]
# Gesendet am: Mittwoch, 20. November 2002 14:11
# An: FOP-User (E-Mail)
# Betreff: Invoice positions & partial sums
# Hello!
# i'm working on a stylesheet that generates an invoice. I'd 
# like to have a
# partial sum on the bottom of the first page of the invoice, when
# it has more than one page. Has anybody done this before?
# Greetings
# Mirko

Reply via email to