[xsl] variable and arithmetrics

Subject: [xsl] variable and arithmetrics
From: Andreas Andersson <andreas@xxxxxxxxxxxxxx>
Date: Wed, 10 Nov 2004 11:06:15 +0100
Hi!

I've been trying to figure out how to assign av variable an arithmetic value.

What I want to do is something like this (in pseudo code)

<xsl:variable name="priceInCents">
   <xsl:value-of select="//thing/@priceInEuro" />*100
</xsl:variable>		

Thanks.

--
Andreas Andersson
IT Dept.
Travelstart Nordic
andreas@xxxxxxxxxxxxxx
http://www.travelstart.se

Current Thread