<div dir="ltr"><div>A little outdated, but anyway, you can use HTML/XML parser from Mochiweb <a href="https://github.com/mochi/mochiweb/blob/master/src/mochiweb_html.erl">https://github.com/mochi/mochiweb/blob/master/src/mochiweb_html.erl</a> and XPath implementation for it's tree <a href="https://github.com/retnuh/mochiweb_xpath">https://github.com/retnuh/mochiweb_xpath</a></div>
<div><br></div><div>They are much faster, than xmerl and don't produce any atoms (uses binaries).</div></div>