Subject: Re: [xsl] [ANN] Saxon 10.0 (today's other news..) From: "Martynas Jusevičius martynas@xxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Sun, 29 Mar 2020 09:35:00 -0000 |
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@xxxxxxxxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: > > d that namespace in the first place. > > > I think the standardized random-number-generator > https://www.saxonica.com/html/documentation/functions/fn/random-number-generator.html > 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 > Saxonica > > XSL-List info and archive > EasyUnsubscribe (by email)
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] [ANN] Saxon 10.0 (today's, Michael Kay mike@xxx | Thread | Re: [xsl] [ANN] Saxon 10.0 (today's, Martin Honnen martin |
Re: [xsl] [ANN] Saxon 10.0 (today's, Michael Kay mike@xxx | Date | Re: [xsl] difference between an int, Mukul Gandhi gandhi. |
Month |