|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Adding Variables
Hi All, I've created a number of xsl variables in my template and I now wish to add these variables together and render the result in my template. For example, <xsl:variable name="num1"> <xsl:value-of select="//test1/somevalue1"/> </xsl:variable> and <xsl:variable name="num2"> <xsl:value-of select="//test2/somevalue2"/> </xsl:variable> Trying <xsl:value-of select="$num1+$num2"/> doesn't work. How can I add the results of my two variables above and render the result in my template using a xsl:value-of or similar. Many thanks in advance. JD __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








