talira

Compare

SweetXmlSaxyErlsomXML Builder (Elixir)
What it isQuery XML in Elixir with XPath sigilsFast streaming XML SAX parser and encoder for ElixirXML parser for Erlang: SAX parsing and XML Schema based data bindingGenerate XML in Elixir from tuples and builder functions
KindOpen sourceOpen sourceOpen sourceOpen source
Trust0.390.400.310.36
Stars377295270187
Last commit2026-08-172026-10-302026-07-142026-08-21
LicenceMITMITLGPL-3.0-or-laterMIT
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————
CompanyKbrwCẩm HuỳnhWillem de JongJoshua Nussbaum
Features
  • 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
  • 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
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