This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: variable change in xsl:for-each
- From: "Jason Macki" <jmacki at iisd dot ca>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Mon, 22 Jul 2002 11:52:38 -0500
- Subject: RE: [xsl] variable change in xsl:for-each
- Reply-to: xsl-list at lists dot mulberrytech dot com
Pardon me, in my last posting, I gave mod() the definition for div():
>> If you haven't heard of mod() before, a mod b returns the number of
times b can be subtracted from a without returning >> negative result.
What I should have said was that mod is is the *remainder* from removing
b from a the maximum number of times without getting a negative result.
For example:
5 mod 3 is 2, 5 div 3 is 1
5 mod 4 is 1, 5 div 4 is 1
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list