# xml (Dart)

> Full-featured XML and XPath for Dart and Flutter

Source: https://talira.ai/catalog/xml-dart-nwpm2xnc
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [developer tools / parsing / xml html](https://talira.ai/categories/developer-tools/parsing/xml-html)
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Lukas Renggli](https://talira.ai/orgs/lukas-renggli.md)

Dart XML is a lightweight, full-featured XML library for Dart and Flutter. It parses documents into an in-memory DOM you can navigate, query and change, streams large documents as events (push or pull, SAX style) to save memory, queries them with a W3C XPath 3.1 engine, and builds new documents with a fluent, type-safe builder. It runs on the Dart VM, Flutter and the web, both Wasm and JavaScript.

## Links

- GitHub: https://github.com/renggli/dart-xml
- Docs: https://pub.dev/documentation/xml/latest/

## Problems it solves

- parse an XML file in my Flutter app
- stream a very large XML document in Dart without loading it all into memory
- query XML with XPath from Dart

## Features

- DOM parsing, navigation and editing
- SAX-style push and pull event streaming
- XPath 3.1 query engine
- fluent builder for new documents

## Trust

Overall: 0.56 out of 1.
Signals: maintenance 1.00, adoption 0.47, momentum 0.12, community 0.56, backing 0.30, extensibility 0.00.

- last commit 4 days ago
- 102 commits in the last 90 days
- 230 GitHub stars
- 24 contributors
- accepts sponsorship (Github)
- backed by Lukas Renggli

## Sources

[^1]: https://github.com/renggli/dart-xml/blob/main/LICENSE (checked 28 Nov 2026)
