Two files are the same content, just different file formats which may be required by different thermal simulation tools.  The ecxml file is preferred, as it is in the standard format defined by JEDEC in JEP181.