Tamino XML Server Version 9.7
 —  XQuery 4 Reference Guide  —

fn:root

Return root of tree with argument node.


Syntax

fn:root(node $node) => node

Top of page

Description

This function returns the root of the tree to which $node belongs. For persistent nodes this is always a document node, for transient nodes this is not necessarily the case.

Top of page

Argument

$node

node

Top of page

Example

Top of page

Related Syntax Constructs

The following construct(s) refer to this construct:

Top of page