XML helper functions (sarkit.xmlhelp)

Warning

This module is documented for reference only and stable functionality is not guaranteed. Prefer to use the related objects from the standard-specific modules instead.

Common functions for working with XML metadata.

ElementWrapper(elem, xsdhelper[, ...])

Wrapper for lxml.etree.Element that provides dictionary-ish interface

XmlHelper(element_tree, xsdhelper)

Base Class for generic XmlHelpers, which provide methods for transcoding data between XML and more convenient Python objects.

XsdHelper(root_ns)

Abstract base class that retrieves transcoders and type info for elements of a given XML schema.

XsdTypeDef([attributes, children, text_typename])

XSD type definition

ChildDef(tag, typename[, repeat])

XSD child element definition