zuxml: Small XML Parser and Document Tree

Reads, navigates, and writes XML documents using a bundled copy of the 'Expat' parser (<https://libexpat.github.io/>), so that no system XML library is required. Documents are parsed into a faithful immutable tree exposed through a small vectorized navigation interface. Parsing is strict by default: document type declarations are rejected, external entity resolution is not compiled in, and configurable limits bound nesting depth and memory use. A registered C interface allows other packages to parse XML without linking against the parser themselves, and to feed it incrementally so that a large document need not be held in memory all at once.

Version: 0.1.0
Depends: R (≥ 4.1)
Suggests: knitr, rmarkdown, testthat (≥ 3.0.0)
Published: 2026-10-27
DOI: 10.32614/CRAN.package.zuxml
Author: Pedro Baltazar [aut, cre, cph], Clark Cooper [ctb] (author of the bundled Expat library), Fred L. Drake, Jr. [ctb] (author of the bundled Expat library), Greg Stein [ctb] (author of the bundled Expat library), James Clark [ctb] (author of the bundled Expat library), Karl Waclawek [ctb] (author of the bundled Expat library), Rhodri James [ctb] (author of the bundled Expat library), Sebastian Pipping [ctb] (author of the bundled Expat library and contributor to siphash.h), Steven Solie [ctb] (author of the bundled Expat library), William Ahern [ctb] (derived the bundled SipHash implementation (siphash.h)), Jean-Philippe Aumasson [ctb] (co-author of the SipHash reference implementation (siphash.h)), Daniel J. Bernstein [ctb] (co-author of the SipHash reference implementation (siphash.h)), Victor Stinner [ctb] (contributor to siphash.h)
Maintainer: Pedro Baltazar <pedrobtz at gmail.com>
BugReports: https://github.com/pedrobtz/zuxml/issues
License: MIT + file LICENSE
Copyright: See inst/COPYRIGHTS.
zuxml copyright details
URL: https://github.com/pedrobtz/zuxml, https://pedrobtz.github.io/zuxml/
NeedsCompilation: yes
Materials: README, NEWS
CRAN checks: zuxml results

Documentation:

Reference manual: zuxml.html , zuxml.pdf
Vignettes: Linking Expat from another package (source, R code)
Parsing untrusted XML (source, R code)
Streaming large documents (source, R code)

Downloads:

Package source: zuxml_0.1.0.tar.gz
Windows binaries: r-devel: zuxml_0.1.0.zip, r-release: zuxml_0.1.0.zip, r-oldrel: not available
macOS binaries: r-release (arm64): zuxml_0.1.0.tgz, r-oldrel (arm64): zuxml_0.1.0.tgz, r-release (x86_64): zuxml_0.1.0.tgz, r-oldrel (x86_64): zuxml_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=zuxml to link to this page.