This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: how to apply sum to a comma delimited list


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]