Subject: RE: making calculations in XSL From: Kay Michael <Michael.Kay@xxxxxxx> Date: Thu, 25 May 2000 09:52:04 +0100 |
> <?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>. <xsl:template match="startmeup"> Total is: <xsl:value-of select="sum(number)"/> </xsl:template> Mike K XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: making calculations in XSL, Selva, Francis | Thread | RE: making calculations in XSL, .::romina::tulisi::. |
RE: please help: why <xsl:foreach s, Kay Michael | Date | URL decomposition, MarkH |
Month |