I downloaded an .xml editor but my .xml file doesn’t open in the editor.

Once an .xml editing program has been installed, users need to set it as the default program for editing .xml files. In File Explorer, navigate to an .xml file, right-click and choose to open with a default program, and select the installed .xml editing program of your choice.