Subject: add values
Posted By: austinf Post Date: 8/29/2006 4:46:46 AM
hi i have a values stored using a <xsl:variable/>.

i now need to add 3 to this and store it back to the same variable or another one.

can u plz tell me this.

Thanks

Reply By: mhkay Reply Date: 8/29/2006 6:08:35 AM
XSLT is a functional programming language, and it doesn't use variables in the same way as a procedural programming language. You need to think about your problem in a different way. If you describe your problem, rather than describing the way you would solve it in a procedural language, then we may be able to help you.

Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference

Go to topic 48969

Return to index page 191
Return to index page 190
Return to index page 189
Return to index page 188
Return to index page 187
Return to index page 186
Return to index page 185
Return to index page 184
Return to index page 183
Return to index page 182