Loading TOC...

MarkLogic 10 Product Documentation
fn functions (Accessor)

The accessor built-in functions are XQuery functions to access node properties. They are defined in XQuery 1.0 and XPath 2.0 Functions and Operators.

7 functions
Function name Description
fn:base-uri Returns the value of the base-uri property for the specified node.
fn:data Takes a sequence of items and returns a sequence of atomic values.
fn:document-uri Returns the value of the document-uri property for the specified node.
fn:nilled Summary: Returns an xs:boolean indicating whether the argument node is "nilled".
fn:node-kind [0.9-ml only, use xdmp:node-kind in 1.0 and 1.0-ml] Returns an xs:string representing the node's kind: either "document", "element", "attribute", "text", "namespace", "processing-instruction", "binary", or "comment".
fn:node-name Returns an expanded-QName for node kinds that can have names.
fn:string Returns the value of $arg represented as an xs:string.