Hi Pat,
You send this 4 times at 2-5 minutes intervals (?)
Your question is about XSLT. This list is about FOP, which is about
XSL-FO. If you have general XSLT questions, ask them on the xsl-list of
Mulberry Tech http://www.mulberrytech.com/xsl/xsl-list.
If you post there, tell us what processor you use. The default processor
inside fop is, I believe, Xalan. But you can configure it to use
something else. Sequence operations (like action X to each element and
then action Y to all element) is easiest with XSLT 2.0. Xalan only does
XSLT 1.0, an alternative is to use the open source version of Saxon,
which can be used with fop.
Consider upgrading fop to 0.93, the version you use is not supported and
not maintained anymore.
In XSLT 2.0, it can be as simple as this (but ask again on the xsl list
please, if it is not clear):
<xsl:value-of select="sum(for $i in preceding::price return round($i))" />
Cheers,
-- Abel Braaksma
pat wrote:
Hello,
I need to round floats and then sum them. Currently I have something like this:
<xsl:variable name="previous-page-subtotal" select="sum(preceding::price)"/>
but I need this:
sum(round(preceding::price)) or something like this.
The FOP version is 0.20.5
Any idea?
Thanks a lot.
Pat
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]