[erlang-questions] How to best parse XML in erlang?

Ignas Vyšniauskas baliulia@REDACTED
Sun Jul 28 21:51:46 CEST 2013


Hi,

I was actually researching available XML parsers last week, so I'm just
going to list all the options I found:

* xmerl (the standard)
* erlsom (the "better")
* exml ( https://github.com/paulgray/exml) (expat based)
* parsexml (KISS)  ( https://github.com/maxlapshin/parsexml)
* (shameless plug) my even more simplified fork of parsexml
https://github.com/yfyf/parsexml

It all depends on what kind of XML do you want to parse/support, i.e.
answering these questions to yourself:
* how complex is your XML?
* can you keep holding the XMLs in memory?
* how much do you care about speed?

--
Ignas



More information about the erlang-questions mailing list