W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > August 2013

Re: Yet Another V2 Request: Extension Functions via XSLT 2

From: Norman Walsh <ndw@nwalsh.com>
Date: Thu, 08 Aug 2013 15:02:23 -0400
To: public-xml-processing-model-wg@w3.org
Message-ID: <m2k3jwqa4g.fsf@nwalsh.com>
Alex Milowski <alex@milowski.com> writes:
> I would expect this feature to be static and an XProc processor can refuse to compile the
> pipeline if it doesn't support the implementation language.

I've poked about a bit. I'm having a hard time getting all the bits
connected together, but in theory this:

   <cx:import namespace="http://xmlcalabash.com/ns/functions" href="f.xqy"/>

will load functions from f.xqy and store them in the processor so that
they can be called as extension functions. It might (should!) also be
possible to load functions defined in XSLT too.

                                        Be seeing you,

Norman Walsh
Lead Engineer
MarkLogic Corporation
Phone: +1 512 761 6676

Received on Thursday, 8 August 2013 19:02:52 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:32:52 UTC