| What it is | Generate XML in Elixir from tuples and builder functions | Query XML in Elixir with XPath sigils | Fast streaming XML SAX parser and encoder for Elixir | XML parser for Erlang: SAX parsing and XML Schema based data binding |
| Features | - XML nodes as {name, attributes, content} tuples or document/element helper calls
- Escapes content by default, with CDATA, safe and raw iodata opt-outs
- Namespaces, DOCTYPE declarations, encoding and standalone declarations
- Pretty-printed or compact output
- generate_iodata for large documents without one big binary
| - query XML with XPath through the ~x sigil
- map several XPath queries into nested Elixir maps with xmap
- stream large XML files from File.stream! or element by element
- Hex package sweet_xml
| - SAX parser with event handler callbacks
- streaming parsing of large XML files
- parse to a simple DOM-like form
- XML encoder with a Builder protocol for structs
| - SAX parser for documents of any size
- simple DOM mode with Xmerl's simple form
- XML Schema data binding to Erlang records, and back to XML
- streaming input in blocks of any size
- works directly on Latin-1, UTF-8 and UTF-16 binaries
|