[erlang-questions] xmerl/xpath alternatives?

Sergey Prokhorov seriy.pr@REDACTED
Sat Aug 17 15:02:06 CEST 2013


(2'nd try...)
A little outdated, but anyway, you can use HTML/XML parser from Mochiweb
https://github.com/mochi/mochiweb/blob/master/src/mochiweb_html.erl and
XPath implementation for it's tree https://github.com/retnuh/mochiweb_xpath

Need to note, that https://github.com/maxlapshin/parsexml is compatible 
with mochiweb_html by tree format, so XPath implementation can be used 
with both parsers.

They are much faster, than xmerl and don't produce any atoms (uses
binaries).



More information about the erlang-questions mailing list