Hi FERNANDEZ! My name is David. I am a user of Microsoft products like you, and it is a pleasure to greet you.
Responding to your question, keep in mind that files with the .XML extension remain the same even when the selected code editor is Microsoft Edge, which is set by default. This is because this browser can open this type of file to view its content.
If you go to C:\Windows\System32 and look for any file with the .XML extension, right-clicking and selecting properties will show you that it appears as "Microsoft Edge HTML Document (.xml)." The first section indicates the application with which the file is opened, and what appears in parentheses is the extension.
If your Windows displays it this way, there is no issue with the default application for opening this type of file. Note that Notepad can also be used to open these files, or any other text editor will work too.
In summary, you can leave Microsoft Edge as the default application for opening this type of file since it does not affect its functionality when Windows needs any of them.
Let me know if the shared information has been helpful. Regards.