In article <d2**********@news.nems.noaa.gov>,
ra**********@noaa.gov
enlightened us with...
In most of programming languages are VERY easy to do:
int i = 0;
i = 3;
i = i + 1;
i += 2;
i++;
But how can I do these in XSLT?
You really shouldn't, even if you can.
Here's a great explanation why.
[quote src=http://www.xslt.com/html/xsl-list/2002-04/msg00185.html]
However, it's very dangerous to use extension functions or extension
elements that have side-effects in XSLT, such as counters or
extensions that read and update databases. This is because XSLT is
designed around the basic assumption that you can evaluate the same
expression multiple times without affecting the result of that or
other expressions.
[/quote]
More points made there, too. Check out the full link.
http://www.xslt.com/html/xsl-list/2002-04/msg00185.html
--
--
~kaeli~
Reading while sunbathing makes you well red.
http://www.ipwebdesign.net/wildAtHeart http://www.ipwebdesign.net/kaelisSpace