structa.xml
The structa.xml module provides methods for generating and manipulating
XML, primarily in the form of xml.etree.ElementTree objects. The main
class of interest is ElementFactory, which can be used to generate
entire element-tree documents in a functional manner.
The xml() function can be used in a similar manner to str or
repr() to generate XML representations of supported objects (most
classes within structa.types support this). Finally,
get_transform() can be used to obtain XSLT trees defined by structa
(largely for display purposes).