MarkLogic 9 Product Documentation
fn functions (Context)
The context built-in functions are XQuery functions defined to obtain information from the dynamic context.
They are defined in
XQuery 1.0
and XPath 2.0 Functions and Operators.
8 functions
Function name |
Description |
fn:current-date |
Returns xs:date(fn:current-dateTime()). |
fn:current-dateTime |
Returns the current dateTime value (with timezone) from the dynamic context. |
fn:current-time |
Returns xs:time(fn:current-dateTime()). |
fn:default-collation |
Returns the value of the default collation property from the static context. |
fn:implicit-timezone |
Returns the value of the implicit timezone property from the dynamic context. |
fn:last |
Returns the context size from the dynamic context. |
fn:position |
Returns the context position from the dynamic context. |
fn:static-base-uri |
Returns the value of the base-uri property from the static context. |