Re: [xsl] How to call an XSLT function whose name isn't known till run-time?

Subject: Re: [xsl] How to call an XSLT function whose name isn't known till run-time?
From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 6 Dec 2019 19:35:56 -0000
On 06.12.2019 18:21, Costello, Roger L. costello@xxxxxxxxx wrote:

I have an XSLT variable, $function-to-invoke, that holds the name of an XSLT function to be invoked. For example, if $function-to-invoke holds the string "move" then I want my XSLT program to invoke the function with that name, i.e., invoke f:move(...). Is there a way for XSLT to call a function whose name isn't known till run-time?

https://www.w3.org/TR/xpath-functions-30/#func-function-lookup might suffice


Current Thread