Reputation: 11321
I'm exploring the idea of replacing an XML->XSLT->HTML workflow with Elm, just to see if I can do it. I found an Elm XML parser, and now I just need to figure out how to read a local file into Elm. I can't seem to find anything anywhere that explains how to do that. How would I go about doing that?
Upvotes: 12
Views: 2971
Reputation: 14025
You can't directly read a file in Elm. Depending on your needs, you have a few options:
Upvotes: 18