# xml

> xml, a magmalake tin: 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.

[magmalake](https://magmalake.dev/) [xml](https://magmalake.dev/s/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

[GitHub](https://github.com/magmalake/xml.mojo) [README](https://github.com/magmalake/xml.mojo#readme)

## 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

Checked against Its own test suite on stable and nightly Mojo

- [lint](https://magmalake.dev/s/lint) mojolint · origin and threading mistakes
- [k8s](https://magmalake.dev/s/k8s) the Kubernetes API from Mojo
- [Every tin](https://magmalake.dev/tins)

[A magmalake project](https://magmalake.dev/)

Apache 2.0 · © 2026 Marius Seritan
