xslt:function-available

Function signature

$function

xs:string

Result

xs:boolean

Determines whether a particular function is available in the context

XSLT 2.0 Specification

Implemented. There is a restriction, namely that if the argument value is not a compile-time constant, then the function has no information about the names of stylesheet functions, so it will return false if the name of a stylesheet function is supplied.


Function signature

$function

xs:string

$arity

xs:integer

Result

xs:boolean

Determines whether a particular function is available in the context. The two-argument version of the function was added during the Last Call period.

XSLT 2.0 Specification

Implemented in Saxon 7.9. There is a restriction, namely that if the argument value is not a compile-time constant, then the function has no information about the names of stylesheet functions, so it will return false if the name of a stylesheet function is supplied.


Expand

Up  Next