W3C home > Mailing lists > Public > xproc-dev@w3.org > July 2021

Does XProc 3 allow me to call public function from XSLT 3 stylesheet?

From: Martin Honnen <martin.honnen@gmx.de>
Date: Thu, 8 Jul 2021 13:37:39 +0200
To: xproc-dev@w3.org
Message-ID: <c53f4fa4-dfbe-0e4d-c674-37bbfc62bf99@gmx.de>

Hi,

XSLT 3 basically allows three ways to use a stylesheet, apply-templates
with an initial mode, call-template with an initial template or invoking
a public function with arguments
(https://www.w3.org/TR/xslt-30/#invoking-initial-function).

p:xslt in XProc 3 with the options for initial mode or template-name
seems to only cater for apply-templates or call-template, but I miss a
way there to call a public function.

It seems p:import-functions is a way to close that gap, but is that
supported in reality, i.e. Morgana XProc III? I get false for
p:function-library-importable('application/xslt+xml').

Is there intentionally no option on p:xslt to allow calling a function?
Received on Thursday, 8 July 2021 11:39:10 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 8 July 2021 11:39:39 UTC