Question: can you play xbox minecraft worlds on switch?
Answer: You don't need to transfer them, because Minecraft now has cross-platform play and cross-platform progression between PC, Xbox One and Nintendo Switch. All you need to do is log into your Xbox Live Account in the Switch version, and then you should be able to open all the worlds you created on other platforms.