In Elm, how do I parse an XML file? I see lots of example for JSON decoders, but I cannot find an XML decoder.
What alternatives do I have besides REGEX? My XML is pretty simple, and that would work, but I know that's a bad idea.
This is pretty new:
http://package.elm-lang.org/packages/eeue56/elm-xml/latest
It seems the commit is from this year(2017). I think this is what you're looking for!
Now apparently there is no package for XML parsing. But maybe you are interested in this project:
https://github.com/toburger/elm-xml-parser
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With