[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Decimal precision


Subject: RE: [xsl] Decimal precision
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Mon, 7 Feb 2005 15:44:52 -0000

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


Current Thread
Keywords