xsl-list
[Top] [All Lists]

Re: removing comma from within sum command

2004-12-02 04:17:32
Search the xsl-list archives for "transform-and-sum"

Cheers,
Dimitre.


On Wed, 1 Dec 2004 10:04:55 -0500 (GMT-05:00), dmitrik(_at_)mindspring(_dot_)com
<dmitrik(_at_)mindspring(_dot_)com> 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

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



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