[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

making calculations in XSL

Subject: making calculations in XSL
From: ".::romina::tulisi::." <romina@xxxxxxxxxxxx>
Date: Wed, 24 May 2000 17:42:43 -0300
making calculations

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">

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.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.