Export XML file

Hi all, I’m testing xml exporting by example  https://docs.mendix.com/howto/integration/export-xml-documents#:~:text=To%20create%20the%20export%20logic,Caption%2C%20enter%20Export%20as%20XML  But when I download the exported xml file, the file is in .txt format not .xml format. Can anyone show me how to download the file with .xml format in microflow? Thank you!
1 answers

The XMLDocument Entity extends the FileDocument entity. This entity has an attribute called Name. Before you downoad your document, you can change that name with a change object action. Just name it with the .xml suffix.