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.
Join Stack Overflow to learn, share knowledge, and build your career.
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: