[Top] [All Lists]

Re: [xsl] [ANN] Saxon 10.0 (today's other news..)

2020-03-29 04:35:05
Thank you for the suggestions.

The stylesheets are currently 2.0 because they are also reused on the
client-side with Saxon-CE. Which means standard math: functions and
random-number-generator() are not available.
I will definitely want to upgrade them to 3.0, but waiting for
Saxon-JS 2.0 to do that.

Therefore I wanted to upgrade the Java dependency to Saxon 10 first,
hoping that the stylesheets would require little to no changes (I'm
implementing a couple of extension functions that used java: calls).

What would be the path of least resistance here? EXSLT is not
available despite documentation saying it should be?

What would be the parth

On Sun, Mar 29, 2020 at 11:10 AM Michael Kay mike(_at_)saxonica(_dot_)com
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> wrote:

d that namespace in the first place.

I think the standardized random-number-generator
is now also supported in Saxon 10 HE.

Yes. It's not quite as convenient as math:random() because it's designed as a 
pure function without side effects. But that has benefits too: it's not going 
to be moved out of a loop by the optimizer.

Perhaps I need to take another look at how to do monads in XSLT.

Michael Kay

XSL-List info and archive
EasyUnsubscribe (by email)
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com

<Prev in Thread] Current Thread [Next in Thread>