Top

Name

function-available — Returns true if XPATH extension function with the requested name is defined in the XPATH Processor, otherwise returns false.

Synopsis

boolean function-available ( funname string );
 

Description

The function returns true if XPATH Processor can execute XPATH extension function with the name specified by funname argument. If such function is not defined, function-available returns false.

Parameters

funname

The name of XPATH extension function

Return Types

Boolean

Examples

Example 24.590. 

This expression should return false.

function-available('http://example.com/Virtuoso/nosuchfunction')