Full-featured XML and XPath for Dart and Flutter
open sourceMITfree
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.
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
