xdmp:
cts:
math:
prof:
dbg:
sec:
thsr:
:
trgr:
cpf:
lnk:
dom:
p:
cvt:
msword:
excel:
ppt:
pdf:
dbk:
css:
xhtml:
fn:
xs:date(fn:current-dateTime())
xs:date
fn:current-date()
2004-05-12+01:00
fn:current-date() => 2006-05-25-07:00
xs:dateTime
fn:current-dateTime()
2004-05-12T18:17:15.125Z
fn:current-dateTime() => 2006-05-25T18:21:24.454-07:00
xs:time(fn:current-dateTime())
xs:time
fn:current-time()
23:17:00.000-05:00
fn:current-time() => 18:24:06-07:00
Returns the value of the default collation property from the static context. Components of the static context are discussed in Section C.1 Static Context Components[XP].
Note: The default collation property can never be undefined. If it is not explicitly defined, a system defined default can be invoked. If this is not provided, the Unicode code point collation (http://www.w3.org/2005/04/xpath-functions/collation/codepoint) is used.
http://www.w3.org/2005/04/xpath-functions/collation/codepoint
fn:default-collation() => http://www.w3.org/2003/05/xpath-functions/collation/codepoint
fn:implicit-timezone() => -PT7H
let $x := (10, 20, 30, 40, 50) return $x[last()] => 50, which is the last item in the sequence
let $x := (10, 20, 30, 40, 50) return $x[position() eq 2] => 20, which is in the second position in the sequence