xsl-list
[Top] [All Lists]

Re: Decimal precision

2005-02-04 18:42:39
On Sat, 5 Feb 2005 12:13:08 +1100, Dimitre Novatchev
<dnovatchev(_at_)gmail(_dot_)com> wrote:
On Fri, 4 Feb 2005 23:32:03 -0000, Michael Kay <mike(_at_)saxonica(_dot_)com> 
wrote:
x/y/xs:decimal() works only in Saxon 8.2. In earlier releases you have to
write it as

for $x in x/y return xs:decimal($x)

Or with FXSL:

  sum(  f:map(f:decimal(),  /*/*/claim/claim_line/reimbursement_amount)   )


The above was intended to show the solution of the OP.

What in FXSL correspond's to:

                for $x in x/y return xs:decimal($x)

is

               f:map( f:decimal(), x/y )


Cheers,
Dimitre.

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>