Subject: RE: [xsl] how to apply sum to a comma delimited list From: "Florin Dragu" <florin.dragu@xxxxxxxx> Date: Thu, 16 May 2002 09:09:31 +0300 |
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@xxxxxxxxxxxxxxxxxxxxxx [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Mike Brown Sent: 15 May 2002 21:14 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] how to apply sum to a com, Mike Brown | Thread | Re: [xsl] how to apply sum to a com, Mike Brown |
Re: Subject: Re: [xsl] Bug in treat, Dimitre Novatchev | Date | RE: Subject: Re: [xsl] Bug in treat, Michael Leditschke |
Month |