XML parsing library in Erlang
Pull request Compare This branch is 75 commits behind paulgray:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
c_src
include
src
test
.gitignore
Makefile
README.md
rebar
rebar.config

README.md

exml

exml is an Erlang library helpful with parsing XML streams and doing some basic XML structures manipulation.

Building

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.

Using

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).