# leethomason/tinyxml2

TinyXML2 is a simple, small, efficient, C++ XML parser that can be easily integrated into other programs.

Repository: https://github.com/leethomason/tinyxml2
Canonical: https://ross.abutalabs.com/products/tinyxml2
Language: C++
License: Zlib
License Family: permissive
Last push: 2026-05-24T00:56:05+00:00

## Health v2 (maintenance only)
Score: 71/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 83, release rhythm 40, longevity 100
- inputs: {"age_days": 5303, "days_push": 102, "days_rel": 536, "gap_med": 7, "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 5792, forks 1956 (observed 2026-08-28T04:09:29.658362+00:00)

## What it is
TinyXML-2 is a small, efficient C++ XML parser that builds a DOM from XML documents which can be read, modified, and saved. It consists of one header and one source file with no dependency on the C++ Standard Library, making it easy to embed in any C++ project.

## Use cases
- parse xml files in c++
- read and modify xml config files
- generate xml documents programmatically
- embed a lightweight xml parser in a game engine
- parse xml on embedded systems without the standard library
- save application data as xml

## When to choose
- you need a small, fast, dependency-free XML parser
- you want to easily integrate XML support into a C++ application or game
- you need correct, compliant XML output
- you work on embedded or constrained platforms

## When to avoid
- you need DTD or XSL support
- you need full-featured, standards-complete XML processing (e.g., for browsers)
- you need XPath or schema validation

## Facets
- artifact type: library
- maturity: stable
- function: parser, serialization
- domain: parsers, developer-tools
- platform: cpp, cross-platform, embedded
- tags: xml, dom, header-only-ish, lightweight, no-dependencies, game-development

## Member repositories
- leethomason/tinyxml2 (main) score 71

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:29.658362+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-29T17:52:48.263411+00:00, confidence not recorded.
  - readme: https://github.com/leethomason/tinyxml2 (fetched 2026-08-28T04:09:29.658362+00:00, sha d9749cba0e0c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
