minidom and etree
proof of concept