Re: Adding EXSLT functions

2014-03-01 Thread David Crossley
Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > All, > > I've been successfully using EXSLT functions -- specifically, the > date-and-time functions (http://exslt.org/date/index.html) -- for some > years now and I was interested in using the "seconds" function.

Re: Adding EXSLT functions

2014-02-28 Thread Igor Malinin
Although not exactly the same way, but you can still call Java code from XSLTs with Saxon HE 9.x. See for example: https://github.com/alveolo/butterfly/tree/master/saxon/src/main/java/org/alveolo/butterfly/saxon/xpath On 28 Feb 2014, at 19:15, gelo1234 wrote: > The problem with 9.x HE Saxon rel

Re: Adding EXSLT functions

2014-02-28 Thread gelo1234
Chris, one more notice. Take a look at: http://saxonica.com/documentation9.4-demo/html/extensions/exslt.html EXSLT are available "out of the box" in Saxon 9.x EE/PE, you don't have to include any exsl.xsl additionally. The problem is with Saxon HE, which is by default used in C3 (2.2?). The probl

Re: Adding EXSLT functions

2014-02-28 Thread gelo1234
Hi, We have used EXSLT in C2 stylesheets without problems. Here is an excerpt: http://www.w3.org/1999/XSL/Transform"; version="1.0" xmlns:exslt="http://exslt.org/common";> ... ... As far as memory serves, it worked seamlessly with Xalan and Saxon. Greetings, Greg 2014-02-28 13:12 GMT+01:00

Re: Adding EXSLT functions

2014-02-28 Thread Ellis Pritchard
Hi Chris, Not standard EXSLT functions, but I have loaded extension functions under 2.1. I’ve just consulted my archives (2006!)… Firstly, I used a .xweb patch file patch Cocoon’s servlet configuration, in order to pre-load my extension classes using Cocoon's load-class init-param; this was be

Re: Adding EXSLT functions

2014-02-28 Thread Peter Flynn
On 27/02/14 21:47, Christopher Schultz wrote: Has anyone ever manually-plugged an EXSLT function into Xalan? No, I changed the processor to Saxon so I can use XSLT2. The date and time functions there are much better and more extensive, and there is no need for plugins. ///Peter -- Peter Fly

Adding EXSLT functions

2014-02-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, I've been successfully using EXSLT functions -- specifically, the date-and-time functions (http://exslt.org/date/index.html) -- for some years now and I was interested in using the "seconds" function. It turns out that the "seconds" function is