Get single WebDAV property of a document.
The following construct(s) refer to this construct:
tdf:getProperty(documentroot $resource, xs:string $uri, xs:string $localName) => xs:string
The function tdf:getProperty
is specific to Tamino and its
WebDAV functionality. It retrieves all properties of a document stored as
WebDAV resource in Tamino. This corresponds to the WebDAV request PROPFIND.
$resource |
WebDAV resource which is a document root in Tamino |
---|---|
$uri |
namespace URI of the WebDAV property |
$localName |
local name of the WebDAV property |
Show all documents in the collection ino:dav
that use the
content type "text/xml". The content type is stored
in the WebDAV property getcontenttype
.
declare namespace ino="http://namespaces.softwareag.com/tamino/response2" for $x in collection("ino:dav") where tdf:getProperty($x, "DAV:", "getcontenttype") = "text/xml" return $x