Loading TOC...

fn.data

fn.data(
   $arg as ValueIterator
) as ValueIterator

Summary

Takes a sequence of items and returns a sequence of atomic values.

The fn:data function returns the sequence of atomic values produced by applying the following rules to each item in $arg:

Parameters
$arg The items whose typed values are to be returned.

Example

var x = fn.head(xdmp.unquote('<hello>hello <goodbye>goodbye</goodbye></hello>')
    ).xpath("/hello");
fn.data(x);

=> hello goodbye

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy