Saxonica.com

fn:collection

fn:collection() → node()*

Function signature

$srcval

xs:string

Result

node() *

XPath 2.0 Specification

Returns the default collection if there is one.

Saxon implements this function by passing a null URI to the registered CollectionURIResolver. The default CollectionURIResolver implementation supplied with the product handles this by returning an empty sequence, but a user-supplied CollectionURIResolver is free to handle this case any way it wishes.

fn:collection(string $srcval) → node()*

Function signature

$srcval

xs:string

Result

node() *

Loads an external collection of nodes identified by the URI of the collection

XPath 2.0 Specification

Next