[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: variable and arithmetrics
From: Oleg Tkachenko <oleg@xxxxxxxxxxxxx>
Date: Wed, 10 Nov 2004 12:20:29 +0200
Andreas Andersson wrote:

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>

<xsl:variable name="priceInCents" select="//thing/@priceInEuro * 100"/> -- Oleg Tkachenko http://blog.tkachenko.com Multiconn Technologies, Israel

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member