Openstudio can convert idf to gbXML. There are quite a lot of XML so I dont know which one you want. But gbXML is the most common one for building model