Random Module

This XQuery Module contains functions for computing random values. All functions except for random:seeded-double and random:seeded-integer are non-deterministic, i. e., they return different values for each call.

=Conventions=

All functions and errors in this module are assigned to the  namespace, which is statically bound to the random prefix.

=Functions=

random:uuid
=Errors=

=Changelog=


 * Version 9.0


 * Updated: error codes updated; errors now use the module namespace


 * Version 8.5


 * Added: random:seeded-permutation


 * Version 8.0


 * Updated: random:integer, random:seeded-integer raise error for invalid input.

The module was introduced with Version 7.5. It includes some functionality which was previously located in the Math Module.