making calculations in XSL
Hello. I'm sorry if u think of my question to be a incredibly newbie-like. The thing is that I was told that it is possible to make sums in XSL (i.e. adding the value of an element to another value of an element) Suppose I have the following xml <?xml version="1.0"> <startmeup> <number>1</number> <number>2</number> <number>...</number> . . . </startmeup> What I need is to sum the numbers: 1 + 2 + all the following values of the <number></number>. I've been trying to get it to work but I can't. I've been using the sum() thing, but as i said before it's not adding. Can somebody help me please? thanx in advance. .romina. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
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