Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributexml

Full-featured XML and XPath library for DOM parsing, SAX streaming, and fluent building.

pub.devRemove
xpath_selector

XPath package for HTML and XML parsing with basic XPath syntax support.

pub.devRemove
ScoresHealth92 (best)48
Maintenance87 (best)0
Quality97 (best)96
Popularity97 (best)40
Community80 (best)41
Compatibility100100
UsageDownloads (30 days)19M (best)14k
Likes449 (best)11
Pub points160 / 160 (best)150 / 160
GitHub stars230 (best)35
MaintenanceLatest release7.1.0, 8 weeks ago (best)3.0.2, 4 years ago
Major versions in 12 months10 (best)
Contributors19 (best)1
Publisherlukas-renggli.chz31.ink
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies41 (best)
LicenseMITBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Comprehensive W3C XPath 3.1 implementation and DOM model.
  • Supports both pull- and push-based event-driven SAX streaming.
  • Zero overhead and fully portable across Dart VM, Flutter, and Web.
  • Supports basic XPath syntax and advanced CSS-style attribute selectors.
  • Decoupled from specific parsers, allowing custom node implementations.
Weaknesses
  • Does not validate documents against XML Schema (XSD) definitions.
  • External DTD entity resolution and validation are not enforced.
  • Requires additional parser packages (like xpath_selector_html_parser or xpath_selector_xml_parser) to parse documents.
  • Not all advanced XPath features are supported.
WarningsNoneNone
xml vs xpath_selector: which Flutter package should you use? | pubscout