|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Can you teach me how to divide numbers in XSL expressions? I want to divide the values of two nodes.
<xsl:value-of select="sum(root/item) / root/dividend" /> XSL treats the slash as a parent-child relationship, not as division. How do I divide the sum by dividend. Also how do I compute modulo in XSL expressions? |
|
#2
|
|||
|
|||
|
Ever get an answer to this?
I have the same question...wondering if you ever figured it out. Thanks.
|
|
#3
|
|||
|
|||
|
How to divide in XSL
Don't know if you got an answer to this but...
replace the "/" with "div" and it works just fine !! |
![]() |
| Viewing: Dev Shed Forums > Other > Beginner Programming > xml: How do I divide numbers in XSL expressions? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|