If any kind of sldprt to xml conversion is possible, it would be probably some kind of reporting or generating bill of materials based on SolidWorks CAD part, which is common function in many 3D modeling software.
There might be also unique uses of such export, for example for Simscape Multibody, that typically require a specific plugin to be installed in SolidWorks.
Updated: August 24, 2023