# zeux/pugixml

Light-weight, simple and fast XML parser for C++ with XPath support

Repository: https://github.com/zeux/pugixml
Canonical: https://ross.abutalabs.com/products/pugixml
Homepage: http://pugixml.org/
Language: C++
License: MIT
License Family: permissive
Topics: xml-parser, xpath, xml, dom
Last push: 2026-06-16T18:09:44+00:00

## Health v2 (maintenance only)
Score: 79/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 87, release rhythm 57, longevity 100
- inputs: {"age_days": 5171, "days_push": 78, "days_rel": 78, "gap_med": 521, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4624, forks 807 (observed 2026-08-28T04:08:55.195698+00:00)

## What it is
pugixml is a light-weight C++ XML processing library providing a DOM-like interface, an extremely fast non-validating XML parser, and an XPath 1.0 implementation. It has been actively maintained since 2006, is highly portable, and is distributed under the MIT license.

## Use cases
- parse xml files in c++
- query xml documents with xpath
- build and modify xml dom trees
- convert xml between unicode encodings
- read configuration files in xml format
- extract data from xml documents fast

## When to choose
- you need a fast, memory-efficient DOM-based XML parser in C++
- you want XPath 1.0 querying over XML trees
- you need a small, portable, easy-to-integrate library with permissive MIT licensing
- your documents fit in memory and you don't need DTD/Schema validation

## When to avoid
- you need DTD or XML Schema validation
- you must stream-process XML documents too large to fit in memory
- you need a SAX-style push/pull parser rather than a DOM tree

## Facets
- artifact type: library
- maturity: stable
- function: parser, serialization
- domain: parsers, developer-tools, files
- platform: cpp, cross-platform, windows
- tags: xml, dom, xpath, c-plus-plus, non-validating-parser, unicode, linux, macos

## Member repositories
- zeux/pugixml (main) score 79

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:55.195698+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:19:38.596322+00:00, confidence not recorded.
  - readme: https://github.com/zeux/pugixml (fetched 2026-08-28T04:08:55.195698+00:00, sha fed76c7a65dd)
  - homepage: http://pugixml.org/ (fetched 2026-08-29T09:04:26.645254+00:00, sha e73cfde8902d)
  - site_page: https://pugixml.org/docs/quickstart.html (fetched 2026-08-29T09:04:26.654820+00:00, sha 7b5ebb2be84b)
  - site_page: https://pugixml.org/docs/manual.html (fetched 2026-08-29T09:04:26.657984+00:00, sha ad7a816bfcd2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
