"Passin, Tom" <tpassin(_at_)mitretek(_dot_)org> wrote in message
news:5D3C2276FD64424297729EB733ED1F76012980FC(_at_)email1(_dot_)mitretek(_dot_)org(_dot_)(_dot_)(_dot_)
[ Kevin(_dot_)Gutch(_at_)mapinfo(_dot_)com]
[snip]
How did I do random dithering without an XSLT random number
generator?
I produced (pseudo) random numerical strings for the x and y
coordinates
using python and put them into a template. I indexed into the
strings
using position() as the index, in effect returning a random integer
between 0 and 9. I added the return value to the base coordinates to
dither the position of the points. Fast and easy.
For an XSLT random number generator look at:
"Casting the Dice with FXSL: Random Number Generation Functions in XSLT
"
http://fxsl.sourceforge.net/articles/Random/Casting%20the%20Dice%20with%20FXSL-htm.htm
=====
Cheers,
Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list