I've not read the patent, but it's definitely inaccurate to say "Microsoft removed custom XML from Word." It's still possible to create custom XML parts programmatically, and I suspect it's quite commonly done. Also, I just checked, and Microsoft 365 has a custom XML mapping tool on the developer tab. So it would be interesting to know how Microsoft complied with the judgment and the subsequent history of the feature.