Webdavz.PropWebDAV property names and accessors.
WebDAV resources have properties identified by XML qualified names (namespace URI + local name). This module defines the well-known property names from RFC 4918 Section 15 and provides accessors for property sets.
getcontentlength, getetag). The server computes these from the resource state.A property set: association list of (qualified_name, value_elements).
The value is a list of child XML trees — an empty list represents an element with no content (e.g., <resourcetype/>).
These are the standard property names defined in RFC 4918 Section 15. All are in the "DAV:" namespace.
("DAV:", "resourcetype") — specifies the nature of the resource.
Collections contain a <DAV:collection/> child element.
("DAV:", "getlastmodified") — last modification date (RFC 1123 format).
("DAV:", "supportedlock") — lock capabilities.
An empty element signals no lock support (class 1 compliance).
("DAV:", "lockdiscovery") — active locks on the resource.
An empty element signals no active locks.
val find : (string * string) -> t -> Webdavz__.Webdavz_xml.tree list optionfind name props returns the value trees for name, or None if the property is not present.
val is_collection : t -> boolis_collection props returns true if the resourcetype property contains a <DAV:collection/> child element.