To export 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.