Re: Reference and First-Class Function
Florent Georges <[email protected]> Tue, 16 Dec 2008 17:59:18 +0100 (CET)
| Newsgroups | gmane.text.xml.xslt.extensions |
|---|---|
| Message-ID | <[email protected]> |
Vladimir Nesterovsky wrote:
> 1. Don't you think that ex:call() is overloaded with meanings?
Sorry, I don't understand exactly what you mean.
> 2. ex:call($function, $arg1, $arg2, ...) assumes variable number
> of parameters.
Yes. I don't like that, but I haven't find any other way.
> An alternative is to define single call syntax:
> ex:function(xs:QName('my:add'));
> ex:call($function, $argument);
But what if your function takes several parameters?
Regards,
--
Florent Georges
http://www.fgeorges.org/