Module convert
minidom
A module which exports a few traits for converting types to elements and attributes.
A trait for types which can be converted to an attribute value.