XdmModule.XPathMathFunctions PropertyXdmModule.XPathMathFunctions PropertyXdmModule::XPathMathFunctions Property

Gets the set of mathematical functions which are new in XPath and XQuery Functions and Operators 1.1

Syntax

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

Property Value

Type: XmlPrime.XdmModuleXmlPrime.XdmModuleXmlPrime::XdmModule^

An XdmModuleXdmModuleXdmModule containing the XPath and XQuery Functions and Operators 1.1 functions.

Remarks

These functions are all in the namespace XPathMathFunctionsNamespaceXPathMathFunctionsNamespaceXPathMathFunctionsNamespace.

This library is intended to be used in addition to the standard functions supplied by XQuery 1.0 and XPath 2.0, which then allows use of the entire XPath 2.1 and XQuery 1.1 function library.

This library contains functions with the following signatures:

  • math:pi() as xs:double
  • math:sqrt($arg as double?) as xs:double?
  • math:sin($arg as double?) as xs:double?
  • math:cos($arg as double?) as xs:double?
  • math:tan($arg as double?) as xs:double?
  • math:asin($arg as double?) as xs:double?
  • math:acos($arg as double?) as xs:double?
  • math:atan($arg as double?) as xs:double?