Determining If Functions Are Available

In a query in a stylesheet, to determine whether the XPath processor supports a particular function, call the function-available() function. The format is

boolean function-available(string)


Specify a string that identifies the name of the function. The XPath processor returns true if it implements that function.

Free Stylus Studio XML Training:
W3C Member