Export to XML

I want to export my scene of group of objects to xml which I want to import in a KMZ file to be viewed in Google Earth. The objects appear fine in Blender with and without groupings. After exporting to a .dae file (which is essentially an XML file), I load the KMZ file and get an error message: “Cannot load model” in Google Earth. However, I do not get an error when I do not use groups and/or objects without textures (I’ve tested on both occaisions in Blender and Google Earth).
I am currently using colladaImEx.translator.Translator() function to export the scene in my script.
Does anyone know if export to XML supports grouping or textures?
Thanks in advance!