Doc webdav: enhance the property notation structure
authorP. Christeas <p_christ@hol.gr>
Tue, 12 Oct 2010 10:40:29 +0000 (13:40 +0300)
committerP. Christeas <p_christ@hol.gr>
Tue, 12 Oct 2010 10:40:29 +0000 (13:40 +0300)
commitf4bc8371430aa5f0fec2a1d52fda558e6ba0e3d0
tree1d0bdc40308efc8339c6d45ff0febaf1ca51421c
parentf1ccc3a4e203fc255cf1450684b9f601a2ac7027
Doc webdav: enhance the property notation structure

When DAV-aware nodes want to return properties, they might need to
have xml attributes or single instances of sub-elements.

Example:
return ('aprop', 'D:', ('foo', 'D:', None, { 'name': 'bar'}))
will result in xml:
<D:prop>
    <D:aprop><D:foo name="bar"/></D:aprop>
</D:prop>

bzr revid: p_christ@hol.gr-20101012104029-gq6hhjki4i52n8qh
addons/document_webdav/webdav.py