exml is an Erlang library helpful with parsing XML streams and doing some basic XML structures manipulation.
exml is rebar-compatible OTP application, run make or ./rebar compile in order to build it.
As a requirement, development headers for expat library are required.
exml can parse both XML streams as well as single XML documents at once.
At first, new parser instance must be created:
{ok, Parser} = exml:new_parser().
Then, one must feed parser with XML document:
ok = exml:parse(Parser, <<"">>, 1).