A family of Microsoft word processing software products for creating web, email, and print documents.
The XML expansion pack feature is a legacy Word feature that is not fully supported in Microsoft 365, which is why you see the message "This command is not available on this platform."
The simplest workaround is to right-click the XML file, select Open with, and choose Notepad, Notepad++, Visual Studio Code, or a browser such as Edge. These applications can display the XML content without trying to load Word XML schemas.
If these XML files are Mexican SAT CFDI electronic invoices (which the namespace indicates), Word is not the correct application for viewing them. Use an SAT-compatible CFDI viewer, an accounting system, or a web-based XML viewer designed for CFDI 4.0 files. These tools understand the SAT schema and can display the invoice information properly.
To permanently change the behavior, right-click any .xml file, choose Properties, click Change next to "Opens with," select Notepad or another XML viewer, and apply the change. This prevents future XML files from automatically launching Word and triggering the unsupported XML expansion pack prompt.
If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.
hth
Marcin