date:sum

Adds a set of durations together. The string values of the nodes in the node set passed as an argument are interpreted as durations and added together as if using the date:add-duration function.

sum($nodes as item()*) ➔ string

Arguments

 

$nodes

item()*

The input node-set

Result

string

Namespace

http://exslt.org/dates-and-times

Links to specifications

EXSLT Dates and Times Module

See also:

date:add()

date:add-duration()

fn:sum()