I have a bunch of XSLT files that I need to process against some XML files. I cannot change the XSLT files as they come from a 3rd party. The XSLT's are version 2.0.
I'm on Mac OS X 10.6 and it looks like Saxon-HE is the only XSLT 2.0 processor available.
Most of the XSLT's work fine, however, some give errors regarding missing functions, specifically month-in-year()
and other date/time related functions.
According to http://www.saxonica.com/documentation/extensions/exslt.xml regarding EXSLT:
These extensions are available in Saxon-PE and Saxon-EE "out of the box". They are not available in Saxon-HE
Is there anyway that I can use the EXSLT functions with Saxon-HE?
I'm happy to move to another tool/processor if that would work.
Saxon-B 9.1 will remain available for people with this kind of requirement. There's very little need for the EXSLT extensions when you're using XSLT 2.0, but you do come across stylesheets that use them, and Saxon-B remains available for that purpose if you want to stick with open source software.
Saxon9 HE does not have the EXSLT extension. In order to use EXSLT, you need to revert to Saxon 9.1 or pick a different product altogether, such as Xalan (Java) or MSXML (Windows) or LibXSLT (C and scripting), all of which only implement XSLT and XPath 1.0. That said, with Saxon9 HE and XSLT 2.0, why do you need EXSLT?
Okay, should have read your post before replying. The requirement seems to be:
If this is all to be assumed, it looks like that leaves you with Saxon9 PE or EE. (Well, or Saxon 9.1, of course.)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With