@CJBlake1 ,
Rereading my original response, that came out harsher than I intended. I got interrupted with real life, and had decided to post as-is, before I had a chance to audit my post, so it was too “raw”.
What I was really trying to say: I don’t think the specific version of Edge is really relevant to your issue. I am assuming that you used to have XML associated with Notepad++, and then suddenly it wasn’t anymore. Unfortunately, many applications (Edge included) have programmers who think that there software is the only one that matters, and that they should “take back” their favorite filetypes (like XML), regardless of decisions a user has already made. So I’m assuming that some recent update in either Edge itself, or in Windows in general, caused Windows to change (or reset) the default application for the XML filetype. There is nothing that Notepad++ can do to prevent the OS or an overeager application from hijacking the filetype. The best thing you can do in a situation like this is to use the OS tools to re-associate the filetype with the program you want. In Windows 11, the most reliable method for doing that seems to be using the Open With from the right-click menu: right click on an XML file, choose Open With, select Notepad++, and be sure to say, “always use this app from now on”.