RE: XSLT 2.0: function-available() for stylesheet functions

> 
> (1) function-available-as-part-of-the-language-implementation()
> 
> while your interpretation is
> 
> (2) function-call-will-be-successful()

No, there's nothing about function-available that guarantees that a function
call will be successful. It's relevant to test availability of functions in
the core library, in vendor libraries, and in third-party libraries such as
EXSLT.

The important thing is that some of these third-party libraries may be
implemented using xsl:function. The stylesheet writer shouldn't care whether
the function is written in Java, in Javascript, or in XSLT;
function-available() should return true for all these cases.

Michael Kay

Received on Monday, 15 April 2002 17:23:24 UTC