To export to a XML file, click the "XML" button from the Files category as shown below



Next, choose a destination for the file. Click "Export" to complete the exporting.