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

Subject: Re: [xsl] exslt random:random-sequence() and Math:random()
From: Mike Odling-Smee <mike.odlingsmee@xxxxxxxxxxxxxx>
Date: Thu, 18 Mar 2010 12:09:05 +0000
> Calling "impure" functions in XSLT is always problematic; the more
> aggressive your optimizer, the more problematic it becomes.

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? If so there anyway to fool the optimiser? (In
this example I was usingSaxon 9.1.0.8).

Regards,

Michael Odling-Smee
www.xml-solutions.com

Current Thread