How to import XML file as js module in Workers? Is it possible?

My data is scattered in more than 100 XML files, and converting them to JSON is definitely tedious. Will be sweet if I can just import them and then utilize them using xml processors.
3 Replies
Hello, I’m Allie!
You can import each XML file as text, and then run whatever processors you want?
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
muslax
muslaxOP2y ago
Havent decidet yet. @Max Schumacher thanks. I’m not familiar with R2, maybe will test with KV first. Do you think R2 has lower latency?
Want results from more Discord servers?
Add your server