Re: Refactor of ixml grammar

On Thu, 2021-11-04 at 10:02 -0600, C. M. Sperberg-McQueen wrote:
> 
> get around to making an XSLT version ‘real soon now’.  (And if memory
> serves, Saxon allows XQuery functions to be called from XSLT, though
> I’ve never actually done that …)


You can load an XQuery module with fn:load-query-module() which returns
a map containing a "functions" entry that  maps from  name#arity to the
function items. As with XSLT packages, i think you may need to edit a
Saxon config file to make it work, which is a show-stopper for some
environments unfortunately. 



-- 
Liam Quin, https://www.delightfulcomputing.com/
Available for XML/Document/Information Architecture/XSLT/
XSL/XQuery/Web/Text Processing/A11Y training, work & consulting.
Barefoot Web-slave, antique illustrations:  http://www.fromoldbooks.org

Received on Thursday, 4 November 2021 16:16:02 UTC