OPSI.web2.dav.element.parser module

WebDAV XML parsing.

This module provides XML utilities for use with WebDAV.

See RFC 2518: http://www.ietf.org/rfc/rfc2518.txt (WebDAV)

OPSI.web2.dav.element.parser.registerElement(element_class, element_names=None)

Register the supplied XML elements with the parser.

OPSI.web2.dav.element.parser.registerElements(module)

Register XML elements defined in the given module with the parser.

OPSI.web2.dav.element.parser.lookupElement(qname)

Return the element class for the element with the given qname.

class OPSI.web2.dav.element.parser.WebDAVDocument(root_element)

Bases: object

WebDAV XML document.

static fromStream(source)
static fromString(source)
toxml()
writeXML(output)