Pugixml
lastmod 2026-11-10created 2020-08-202 edits
pugixml is a lightweight XML parser library for C++. It reads documents into memory as a DOM tree so you can traverse and modify nodes and attributes and save them back, and it also supports XPath 1.0 queries. With only a few source files it is easy to include directly in a project, and its parsing is relatively fast, so it is widely used for configuration files and data exchange.
Light-weight, simple and fast XML parser for C++ with XPath support