On 15/11/2018 21:02, Jirka Kosek wrote:
On 15.11.2018 21:09, Lou Burnard wrote:
I have a stylesheet which currently uses an exslt math function. Within
oXygen this works fine in a transformation scenario, provided I choose
the saxon9pe processor. Using saxon9ee however, it fails. Why is that?
And how would I go about running this transformation outside oXygen? I
need to run it many times, preferably from the command line.
I bet it fails with free Saxon-HE as this version doesn't support all
extensions.

What version of XSLT language you are using? If you are using 1.0 then
you can use good old Saxon 6.5.5. If you are using 2.0 you can upgrade
to 3.0 which provides math functions natively, without need to use EXSLT
extensions:

https://www.w3.org/TR/xpath-functions-31/#trigonometry

Thanks (also to Gerrit!) for quick and helpful responses -- actually I only needed to get rid of a few xslt 2.0 specifics in my stylesheet, and then it runs fine with  xsltproc. Good to know that there is also the option of doing without exslt extensions though.



_______________________________________________
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user

Reply via email to