talira

Compare

SaxySweetXmlXML Builder (Elixir)Erlsom
What it isFast streaming XML SAX parser and encoder for ElixirQuery XML in Elixir with XPath sigilsGenerate XML in Elixir from tuples and builder functionsXML parser for Erlang: SAX parsing and XML Schema based data binding
KindOpen sourceOpen sourceOpen sourceOpen source
Trust0.400.390.360.31
Stars295377187270
Last commit2026-10-302026-08-172026-08-212026-07-14
LicenceMITMITMITLGPL-3.0-or-later
PricingFree and open sourceFree and open sourceFree and open sourceFree and open source
Free tierYesYesYesYes
Self-hostable————
Ways to run it————
SOC 2————
HIPAA————
SSO————
API————
Plugins————
MCP server————
CompanyCẩm HuỳnhKbrwJoshua NussbaumWillem de Jong
Features
  • 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
  • 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
  • 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
  • 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
Limitations
  • No XSD or DTD support: a DOCTYPE declaration is skipped.
  • Only UTF-8 encoded documents are supported.
      • Some XML Schema constraints are accepted but not enforced while parsing: most simple types are read as strings, and key and unique constraints aren't supported