XdmModule.ExtensionFunctions PropertyXdmModule.ExtensionFunctions PropertyXdmModule::ExtensionFunctions Property

Gets the set of extension functions specific to XmlPrime.

Syntax

Public Shared ReadOnly Property ExtensionFunctions As XdmModule
        Get
public static XdmModule ExtensionFunctions { get; }
public:
static property XdmModule^ ExtensionFunctions {
    XdmModule^ get();
}
 

Property Value

Type: XmlPrime.XdmModuleXmlPrime.XdmModuleXmlPrime::XdmModule^

An XdmModuleXdmModuleXdmModule containing the XmlPrime extension functions.

Remarks

XmlPrime 0.9 provided a suite of extension functions, as defined in XQuery 1.0 and XPath 2.0 Additional Functions 0.9. Whist many of these functions have been usurped by the functions defined in XQuery11FunctionsXQuery11FunctionsXQuery11Functions, the remaining functions are provided in this module.

It is likely that most of these functions will be incorporated in a future version of XPath and XQuery Functions and Operators 1.1, at which point the functions will be moved to the namespace XPathMathFunctionsNamespaceXPathMathFunctionsNamespaceXPathMathFunctionsNamespace, and this module will be deprecated.

This module contains functions with the following signatures:

  • fn:e() as xs:double
  • fn:exp($arg as xs:double?) as xs:double?
  • fn:log($arg as xs:double?) as xs:double?
  • fn:log10($arg as xs:double?) as xs:double?
  • fn:pow($arg as xs:double?) as xs:double?
  • fn:atan2($arg1 as xs:double?, $arg2 as xs:double?) as xs:double?
  • fn:sinh($arg as xs:double?) as xs:double?
  • fn:cosh($arg as xs:double?) as xs:double?
  • fn:tanh($arg as xs:double?) as xs:double?