def diff_xml(expected, actual, *args, **kw):
    xmls = map(dom.parseString, (expected, actual))
    return make_differ(DiffXMLDocument, DiffXMLElement)(*(tuple(xmls) + args), **kw)
def diff_xml(expected, actual, *args, **kw):
    xmls = map(dom.parseString, (expected, actual))
    return make_differ(DiffXMLDocument, DiffXMLElement)(*(tuple(xmls) + args), **kw)