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

Re: removing comma from within sum command

Subject: Re: removing comma from within sum command
From: Dimtre Novatchev <dnovatchev@xxxxxxxxx>
Date: Thu, 2 Dec 2004 22:17:32 +1100
nodetest expected here
Search the xsl-list archives for "transform-and-sum"


On Wed, 1 Dec 2004 10:04:55 -0500 (GMT-05:00), dmitrik@xxxxxxxxxxxxxx
<dmitrik@xxxxxxxxxxxxxx> wrote:
> Is there a way to remove commas from the Charge node in this select?
> placing translate around charge seems to cause an error.: " NodeTest expected here."
> <xsl:value-of select="format-number(sum(Trade/Step
>   [concat(substring(MinFlowDate,7),substring(MinFlowDate,1,2),substring(MinFlowDate,4,2))&gt;=
> concat(substring($global,7)+3,substring($global,1,2),substring($global,4,2))]
>   [concat(substring(MinFlowDate,7),substring(MinFlowDate,1,2),substring(MinFlowDate,4,2))&lt;
> concat(substring($global,7)+6,substring($global,1,2),substring($global,4,2))]
>   /Charge), '###,###,##0')"/>
> Thanks,
> Dmitri

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.