This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: how to apply sum to a comma delimited list
- From: "Florin Dragu" <florin dot dragu at memiq dot ro>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 16 May 2002 09:09:31 +0300
- Subject: RE: [xsl] how to apply sum to a comma delimited list
- Reply-to: xsl-list at lists dot mulberrytech dot com
Thanks Mike,
you gave me the ideea of using xalan extensions, so I used 'toknize'
function that returns a node-set from a string with some delimiters.
It works now.
Florin
-----Original Message-----
From: owner-xsl-list@lists.mulberrytech.com
[mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Mike Brown
Sent: 15 May 2002 21:14
To: xsl-list@lists.mulberrytech.com
Subject: Re: [xsl] how to apply sum to a comma delimited list
I wrote:
> <xsl:when test="function-available('exsl:node-set')">
> <xsl:value-of select="count(exsl:node-set($list)/dummyElement)"/>
> </xsl:when>
Sorry, I was testing something here.
Of course I meant sum(), not count().
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list