An LFE XML-parsing wrapper for erlsom, with utility functions
Note that for genereating XML in LFE (using S-expressions), we recommend exemplar. The intended use for lxml is the parsing of XML documents.
Introduction ↟
lxml, or as it is better known, Professor El Xavier Emile (A.K.A "El X. Emile"), is a wrapper for the Erlang community's erlsom library, providing the following additional features:
- Lispy naming conventions via LFE and kla, and
- Utility functions for easily accessing parsed XML data
(e.g.,
map
,get-in
,get-linked
, &c.).
Both of these are discussed more in the lxml docs (see below for the link).
Installation ↟
Just add it to your rebar.config
deps:
{deps, [
...
{lxml, ".*", {git, "[email protected]:oubiwann/lxml.git", "master"}},
...]}.
Or, if you use lfe.config
:
#(project (#(deps (#("oubiwann/lxml" "master")))))
And then do the usual:
$ make compile
Usage ↟
Usage information is provided on the documentation site.