[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Decimal precision

Subject: RE: Decimal precision
From: "Jim Neff" <jneff@xxxxxxxxxxxxxxx>
Date: Mon, 7 Feb 2005 09:55:13 -0500
decimal precision
I'm using Saxon.Net and I don't think it is up to 8.2 yet.  I hope to hear
back from Pieter Siegers today to confirm this.

My point is, I have to stick with earlier version of Saxon which may not
allow what I want to do.

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)

This works for other more simple commands but I'm wondering if the for-in
process cannot be handled in this manner.  

I am using Saxon 8.1.1 from Saxonica.

Is there a way to make this decimal percision work with saxon:evaluate() ?

Thanks,
Jim Neff


> -----Original Message-----
> From: Michael Kay [mailto:mike@xxxxxxxxxxxx] 
> 
> 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)
> 
> Michael Kay
> http://www.saxonica.com/ 

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.