Tamino XML Server Version 9.7
 —  XQuery 4 Reference Guide  —

fn:subsequence

Return subsequence of a sequence.


Syntax

fn:subsequence(sequence $sequence, double $start) => sequence
fn:subsequence(sequence $sequence, double $start, double $length) => sequence

Top of page

Description

This function returns a subsequence of $sequence, which begins at $start and contains the next $length entries, if a third parameter is provided.

Top of page

Argument

$sequence

sequence

$start

double value: the position at which the subsequence starts

$length

double value: the length of the subsequence

Top of page

Examples

Top of page

Related Syntax Constructs

The following construct(s) refer to this construct:

Top of page