xsl-list
[Top] [All Lists]

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

2010-03-18 07:10:57
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--