Tamino XML Server Version 9.7
 —  XQuery 4 Reference Guide  —

tdf:isDescendantOf

Check for WebDAV resource on given path.


Syntax

tdf:isDescendantOf(documentroot $resource, xs:string $path, xs:string $depth) => bool

Top of page

Description

The function tdf:isDescendantOf is specific to Tamino and its WebDAV functionality. It checks whether the WebDAV resource is found on the specified path given the lookup depth. If the resource is found, true is returned, otherwise false.

Top of page

Argument

$resource

WebDAV resource which is a document root in Tamino

$path

relative WebDAV path in Tamino

$depth

restricts depth of resource lookup; valid values are:

Value Meaning

"0" resource itself
"1" direct descendants
"infinity" all descendants (default value)

Top of page

Examples

Top of page

Related Syntax Constructs

The following construct(s) refer to this construct:

Top of page