Version 8.2.2
 —  XQuery 4 Reference Guide  —

fn:collection

Return an input sequence from a specified collection.


Syntax

fn:collection(string $srcval) => node*

Top of page

Description

This function returns a sequence of document nodes of all documents in a Tamino collection. The collection must be defined in the current database.

Top of page

Argument

$srcval

The name of the collection in the current database. It must be a string literal.

Top of page

Example

Top of page