Script For Exporting 3DXML Files To OBJ/3DS Files

I’ve been trying to figure out a script to convert models captured with 3DVia to OBJ or 3DS models for use in animation. However, I’ve only had slight success. I have been able to convert 3DXML Files to DAT Files. I then am able to convert the model to 3DS files through a software called LDView, which can receive DAT files. The problem is that LDView only supports having one object in the scene. I need to be able to convert multiple objects in one go. I am still a beginner and have a lot to learn. If anyone knows a solution, it would be greatly appreciated. Thanks in advance!

Anyone have any ideas?

Nevermind, LDView does support multiple objects by utilizing a certain loophole. If anyone wants a thorough explanation of how to convert 3DXML files to 3ds files, feel free to PM me.