Get sequence of WebDAV resources.
The following construct(s) refer to this construct:
tdf:resource(xs:string $path, xs:string $depth) => sequence
The function tdf:resource
is specific to Tamino and its
WebDAV functionality. It looks for WebDAV resources on the specified path given
the lookup depth and returns a sequence of matching documents.
$path |
relative WebDAV path in Tamino |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
$depth |
restricts depth of resource lookup; valid values are:
|
Return the Tamino IDs of all direct descendant resources of
my/path
:
declare namespace ino="http://namespaces.softwareag.com/tamino/response2" for $x in tdf:resource("/ino:dav/ino:dav/my/path", "1") return tf:getInoId($x)