RE: [xsl] exslt random:random-sequence() and Math:random()

Subject: RE: [xsl] exslt random:random-sequence() and Math:random()
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 18 Mar 2010 12:27:04 -0000
> Michael - I have noticed that calling the function 
> current-dateTime() multiple-times within one XSLT invocation 
> seems to always give the same result even if a significant 
> amount of time has elapsed - is this for the same reason?

Not quite the same reason: in this case it's an explicit requirement of the
spec that the value returned is always the same. Though underlying that is
the desire to make it a pure function.

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay 

Current Thread