Search
Setup for Free
CD
Cloudflare Developers
•
3y ago
muslax
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
.
Cloudflare Developers
Join
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
83,420
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
M
muslax
My data is scattered in more than 100 XML files, and converting them to JSON is ...
H
Hello, I’m Allie!
•
3/8/23, 7:38 AM
You can import each XML file as text
, and then run whatever processors you want
?
H
Hello, I’m Allie!
You can import each XML file as text, and then run whatever processors you want?
M
muslax
OP
•
3/8/23, 2:03 PM
Havent decidet yet
.
M
muslax
OP
•
3/8/23, 2:08 PM
@Max Schumacher thanks
. I
’m not familiar with R2
, maybe will test with KV first
. Do you think R2 has lower latency
?
Similar Threads
How to import js file using a relative import?
CD
Cloudflare Developers / workers-and-pages-help
11mo ago
Is it possible to read data as stream in websockets on workers ?
CD
Cloudflare Developers / workers-and-pages-help
3y ago
Is it possible to use the python "pickle" module with workers?
CD
Cloudflare Developers / workers-and-pages-help
2y ago
Is it possible to run headless Playwright in Workers?
CD
Cloudflare Developers / workers-and-pages-help
11mo ago