[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Parse a date - exslt:parse-date in Saxon 6

Subject: Re: [xsl] Parse a date - exslt:parse-date in Saxon 6
From: "Michael Kay mike@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 22 Oct 2014 17:06:09 -0000

> I'm doing DocBook transformations using Saxon 6.
Have you looked at moving forward? I know Docbook has some dependencies on
Saxon 6 extensions, but there is an XSLT 2.0 version available somewhere.

> I can see that a suitable parser function (parse-date) is defined in Exslt
but it isn't clear whether it is already available to me or how to get it into
use if not.  Actually according to the exslt documentation it is definitely
not available in any XSLT processor but there are JavaScript and Msxsl
implementations available.
I don't believe this extension has been implemented.
> Can someone advise how I can get this to work ?
> Can I get Saxon 6 to call a JavaScript function ?
No, but you can write it in Java.

Michael Kay

Current Thread