Table of Contents

Search

  1. Preface
  2. Understanding Data Types and Field Properties
  3. Designing Processes
  4. Using and Displaying Data
  5. Designing Guides
  6. Designing Process Objects
  7. Designing Service Connectors
  8. Using Connectors
  9. System Services, Listeners and Connectors
  10. Designing Human Tasks

Design

Design

data

data

The atomic value of a node.
The
fn:data
function takes a sequence of items and returns a sequence of atomic values.

Syntax

fn:data(
arg
)
The following table describes the argument:
Argument
Required/
Optional
Description
arg
Required
The items whose typed values are to be returned.

Return Value

For atomic values, it returns the unchanged value. For nodes, it extracts the typed value of the node.

Example

The following expression returns 123, 456 as the result:
fn:data((123, 456))
Assume that you have the following variable definition:
let $x := <hello>Hello
let $x := <hello>Hello <world>World</world> </hello>
The expression
fn:data($x)
returns the following result:
Hello World

0 COMMENTS

We’d like to hear from you!