xsl-list
[Top] [All Lists]

RE: Decimal precision

2005-02-07 08:44:52
I'm actually using the saxon:evaluate() function.  Here is 
what is being
processed:

<content>sum(for $i in 
$p1/provider/claim/claim_line/reimbursement_amount
return xs:decimal($i))</content>

And the calling XSLT code:

saxon:evaluate(current()/content, $current_context)


Can't see any obvious reason why this shouldn't work, assuming you've done
the obvious things like declaring the $current_context variable and the xs
namespace. How is it failing?

Michael Kay
http://www.saxonica.com/



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