Re: Sobtotal per Page

2009-07-17 Thread Carsten B.
Hi, I finally i found something. But I have a problem in calling the template. What ist wrong, can't figure it out. !--- Template to calculate Subtotals -- xsl:template mode=do-sum match=Auftrag xsl:param name=sum select=0/ xsl:variable name=running-sum

Re: Sobtotal per Page

2009-07-17 Thread Christopher R. Maden
Carsten B. wrote: I finally i found something. But I have a problem in calling the template. What ist wrong, can't figure it out. xsl:template mode=do-sum match=Auftrag fo:block font-size=9ptZwischensumme: ### Call Template

Re: Sobtotal per Page

2009-07-17 Thread Carsten B.
Thanks for this answer, Chris. Christopher R. Maden wrote: You are calling a template called “getSubtotal” and don’t have a template called “getSubtotal.” Hence, the template could not be found. I understand now. My mistake was i defined the template getSubtotal und my main template.

Re: Sobtotal per Page

2009-07-17 Thread Christopher R. Maden
Carsten B. wrote: Is this in possible in any way. I would do something like that in JS or Java. This is the root of your problem. XSLT is not like JS or Java. Those languages are procedural, while XSLT is a declarative language. Think about this processing model: the XSLT processor walks

Re: Sobtotal per Page

2009-07-16 Thread J.Pietschmann
On 16.07.2009 18:11, Carsten B. wrote: i searching about 2 days now. I need a subtotal on each page. That's known to be a difficult problem. fo:marker marker-class-name=title xsl:value-of select=$totalsum/ !--- I need the subtotal on at this place ---

Re: Sobtotal per Page

2009-07-16 Thread Christopher R. Maden
J.Pietschmann wrote: On 16.07.2009 18:11, Carsten B. wrote: i searching about 2 days now. I need a subtotal on each page. That's known to be a difficult problem. In this case, I think it’s tractable. In fact, I think Carsten might be having problems with the XSLT rather than the FO. The