|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: add variables
try <xsl:variable name="val3"><xsl:value-of select="$val1 + $val2"/></xsl:variable> Steve Crowers Software Engineer Liberate Technologies 2 Walnut Grove, Suite 200 Horsham, PA 19044 Phone: 215-773-9400 x 9514 Fax: 215-773-9401 scrowers@xxxxxxxxxxxx http://www.liberate.com -----Original Message----- From: Chen, Zhongqing [mailto:chenz@xxxxxxxxxxx] Sent: Tuesday, July 17, 2001 4:39 PM To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx' Subject: add variables Hi, How do you add two variable and assign to the third one in XSLT? <xsl:variable name="val1">1</xsl:variable> <xsl:variable name="val2">1</xsl:variable> <xsl:variable name="val3">1</xsl:variable> How to do: $val3=$val1+$val2 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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








