Function library
Errors and diagnostics
Diagnostic tracing
trace
trace(1 to 3)Functions and operators on numerics
Functions on numeric values
abs
ceiling
floor
round
round-half-to-even
Parsing numbers
number
Formatting integers
format-integer
format-number
log
log10
pow
sqrt
sin
cos
cosh
sinh
tan
asin
acos
atan
atan2
Random numbers
random-number-generator
Functions on strings
Functions to assemble and disassemble strings
string-to-codepoint
codepoints-to-string
Comparison of strings
compare
codepoint-equal
collation-key
contains-token
Functions on string values
concat
string-join
substring
string-length
normalize-unicode
upper-case
lower-case
translate
Functions based on substring matching
contains
starts-with
ends-with
substring-before
substring-after
String functions that use regular expressions
matches
replace
tokenize
analyze-string
Functions that manipulate URIs
resolve-uri
encode-for-uri
iri-to-uri
escape-html-uri
Functions and operators on Boolean values
Boolean constant functions
true
false
boolean
not
Functions and operators on durations
Component extraction functions on durations
years-from-duration
months-from-duration
days-from-duration
hours-from-duration
minutes-from-duration
seconds-from-duration
Functions and operators on dates and times
Constructing a DateTime
dateTime
Component extraction functions on dates and times
year-from-dateTime
month-from-dateTime
day-from-dateTime
hours-from-dateTime
minutes-from-dateTime
seconds-from-dateTime
timezone-from-dateTime
year-from-date
month-from-date
day-from-date
timezone-from-date
hours-from-time
minutes-from-time
seconds-from-time
timezone-from-time
Timezone adjustment functions on dates and time values
adjust-dateTime-to-timezone
adjust-date-to-timezone
adjust-time-to-timezone
Formatting dates and times functions
format-dateTime
format-date
format-time
Functions related to QNames
Functions and operators on sequences
General functions and operators on sequences
empty
exists
head
tail
insert-before
remove
reverse
subsequence
unordered
Functions that compare values in sequences
distinct-values
index-of
deep-equal
Functions that test the cardinality of sequences
zero-or-one
one-or-more
exactly-one
Aggregate functions
count
avg
max
min
sum
Functions giving access to external information
doc
collection
Parsing and serializing
serialize
Context Functions
position
last
current-dateTime
current-date
current-time
implicit-timezone
default-collation
High order functions
Functions on functions
function-lookup
function-name
function-arity
Basic higher-order functions
for-each
filter
fold-left
fold-right
for-each-pair
JSONiq functions
keys
members
null
parse-json
size
accumulate
descendant-arrays
descendant-objects
descendant-pairs
flatten
intersect
project
remove-keys
values
encode-for-roundtrip
decode-from-roundtrip
json-doc
Last updated