#5 Arithmetic expressions in value-of

open
nobody
None
5
2006-08-30
2006-08-30
MMerrell
No

I'm trying to do the following:

XML:
<StepIndex>0</StepIndex>

XSL:
<xsl:template match="StepIndex">
<xsl:value-of select=". + 1"/>
</xsl:template>

How difficult is it to implement basic expressions
like this? I may be able to take a crack at it, but
I'd like a recommendation as to where to start.

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks