Menu

#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


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.