Hallo,
mit
<xsl:value-of select="$val2"/>
greif ich auf ne Var. zu. Wie bilde ich die Summe auf $val1, $val2? Oder Differenz, Produkt, Division... die Grundrechenarten eben.
Wahlweise:
<xsl:variable name="summe"><xsl:value-of select="$val1 + $val2" /></xsl:variable>
oder:
<xsl:variable name="summe" select="$val1 + $val2" />
(Sowohl XSLT 1.0 als auch 2.0)
stösst XSL da an seine Grenzen?
Noch lange nicht. ;-)
Viele Grüße,
Christian
--
Mein "Weblog" [RSS]
Using XSLT to create JSON output (Saxon-B 9.0 for Java)
How to tell the difference between a science fan and a scientist.
Mein "Weblog" [RSS]
Using XSLT to create JSON output (Saxon-B 9.0 for Java)
How to tell the difference between a science fan and a scientist.