This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: making calculations in XSL
- To: <XSL-list at mulberrytech dot com>
- Subject: RE: making calculations in XSL
- From: ".::romina::tulisi::." <romina at spcom dot com dot ar>
- Date: Sat, 27 May 2000 12:47:36 -0300
- Reply-To: xsl-list at mulberrytech dot com
<?xml version="1.0">
<startmeup>
<number>1</number>
<number>2</number>
<number>...</number>
</startmeup>
<xsl:template match="startmeup">
Total is: <xsl:value-of select="sum(//number)"/>
</xsl:template>
*crying* it just keeps on giving me 0 :(
Hopeless?
I'm using http://www.w3.org/1999/XSL/Transform as xmlns ... could that be
the problem?
.romina.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list