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

Re: sum up float values problem

Subject: Re: sum up float values problem
From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
Date: Thu, 27 Apr 2006 12:04:33 -0700
sum xs double
> sum(/*/*/xs:double(translate(.,',','.')))

In XSLT 1.0?

In XSLT 1.0 I'd use the transform-and-sum template/function of FXSL 1.x

Search for "transform-and-sum" to get some examples of its usage.

Dimitre Novatchev
Truly great madness cannot be achieved without significant intelligence.

On 4/27/06, Florent Georges <darkman_spam@xxxxxxxx> wrote:
Dimitre Novatchev wrote:

> Exactly as explained by Dr. Kay:

> sum(/*/*/xs:double(translate(.,',','.')))

In XSLT 1.0?



Faites de Yahoo! votre page d'accueil sur le web pour retrouver directement
vos services prifiris : virifiez vos nouveaux mails, lancez vos recherches et
suivez l'actualiti en temps riel.
Rendez-vous sur http://fr.yahoo.com/set

Current Thread


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.
First Name
Last Name
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.