[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: sum function and math expressions
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|