Storing resources in Tamino XML Server is a different paradigm than storing resources using WebDAV. However, complete transparency between both approaches is achieved by additional information, which is required in case:
a document is stored via WebDAV and should become part of a Tamino collection of documents;
a document is stored via the standard Tamino interface and should be exposed to the WebDAV file system view.
All objects in the WebDAV context are stored in the default WebDAV collection as non-XML. This provides maximum compliance with the WebDAV standard, i.e. without Tamino-specific handling of XML documents.
However, this default behavior can be changed:
A WebDAV directory's default storage location can be changed using a
PROPPATCH
command with the property
<Tamino
namespace>:<collection>. A
newly-created resource (PUT
,
COPY
) thus inherits the Tamino collection property and
is stored to the specified Tamino collection. Note that this applies only to
newly-stored objects.
Access to WebDAV properties is provided by a set of Tamino XQuery functions:
tdf:resource
tdf:isDescendantOf
tdf:getProperty
tdf:getProperties
For more information on these and other XQuery functions, please refer to the XQuery 4 Reference Guide.