[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: [ANN] Saxon 10.0 (today's other news..)
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)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|