Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 722 Bytes

README.md

File metadata and controls

33 lines (23 loc) · 722 Bytes

exml

Build Status

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