Tins · Utilities

xml

A small pure-Mojo XML parser for API responses (EC2, S3, Azure Blob): a pull parser, and a flat read-only tree that answers path queries. No dependencies, no FFI.

Install

Not on mojoshelf yet: build it from its repository.

git clone https://github.com/magmalake/xml.mojo
Version

0.1.0 , from source

Source

What it does

Works today

  • Entities, numeric references, CDATA; malformed input is an error with its byte offset
  • Paths match local names, with * and fan-out over every match

Correctness

Checked against Its own test suite on stable and nightly Mojo

Also in Utilities

  • lint mojolint · origin and threading mistakes
  • k8s the Kubernetes API from Mojo
  • Every tin