You are overwriting the_doc
in each iteration. That's why your output has only one element. Try with this:
os.chdir("/tmp/")
files = [DOC(file=f) for f in glob.glob("*.xml")]
the_doc = ROOT(*files)
print lxml.etree.tostring(the_doc, pretty_print=True)