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
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
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.
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
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 ---
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