Subject: Re: [xsl] sum function and math expressions From: James Fuller <jim.fuller@xxxxxxxxxxxxxx> Date: Fri, 08 Apr 2005 12:19:33 +0200 |
omprakash.v@xxxxxxxxxxxxx wrote: >Hi, > Is it possible to evaluate a math expression in XSLT. GIven a >variable $pos, I would like to compute the value of > >($pos+1) * $max-len and use it in an attribute thus > ><td colspan="{expr}"> where expr is the result of evaluating above >expression. > > > yes, why not try it ? <td colspan="{($pos+1)*$max-len}"> also for more advanced math check out fxsl.sourceforge.net or exslt.org some math related at XSLT FAQ http://www.dpawson.co.uk/xsl/sect2/N5121.html gl, Jim Fuller
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] sum function and math express, omprakash . v | Thread | Re: [xsl] sum function and math exp, David Carlisle |
[xsl] sum function and math express, omprakash . v | Date | Re: [xsl] sum function and math exp, David Carlisle |
Month |