HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
XQuery 1.0, XPath 2.0 and XSLT 2.0 share the same library.
XQuery contains over 100 built-in functions. These functions can be used for string values, numeric, date and time comparison, node and QName manipulation, sequence manipulation, Boolean values, and so on. You can also define your own functions in XQuery.
XQuery function namespace URI:
https://www.w3.org/2005/02/xpath-functions/
The default function namespace prefix is fn :.
Tip: call prefix, such as fn:: function often through fn string (). However, since fn: is the default prefix of the namespace, the function names do not need to use the prefix when called.
You can find the complete "in our XPath tutorial built-in XQuery Functions Reference Manual ."
Function calls can be used with an expression. Consider the following example:
If you can not find the required XQuery function, you can write your own functions.
Or users can define separate database query custom function.