Subject: Re: [xsl] Beginner's question: Mathematical Calculations in XSL Template From: David Carlisle <davidc@xxxxxxxxx> Date: Wed, 21 Nov 2001 18:26:18 GMT |
> wouldn't number('abc1') return NaN Ami, <xsl:value-of select="number(one) if you expected number('abc1') then it doesn't. you could use translate(one.'abc','') to get rid of those letters, or substring(one,4) to ignore the first three characters. David _____________________________________________________________________ This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Scanning Service. For further information visit http://www.star.net.uk/stats.asp or alternatively call Star Internet for details on the Virus Scanning Service. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Beginner's question: Math, Michael Case | Thread | Re: [xsl] Beginner's question: Math, Thomas B. Passin |
Re: [xsl] Beginner's question: Math, Thomas B. Passin | Date | RE: [xsl] effecient inline multi-co, Jeff Beadle |
Month |