home contribute faq download

FunctX XSLT Functions

fn:function-available

Whether a function is supported

Google
Webxsltfunctions.com

Description

The fn:function-available function returns a boolean value indicating whether an implementation supports a particular function. All implementations support the built-in functions, but they may also support extension functions. Note: this is an XSLT-only function; it is not available in XQuery or XPath.

Arguments and Return Type

NameType
$function-name xs:string
$arity xs:integer
return value xs:boolean

Examples

XSLT ExampleResults
See the example from the XSLT 2.0 recommendation.

History

Published OnLast UpdatedContributor(s)
2007-03-172007-03-17W3C, XSLT 2.0, http://www.w3.org/TR/xslt20/
Datypic XSLT Services

Recommended Reading:

XQuery