Package: zuxml 0.1.0

Pedro Baltazar

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.

Authors:Pedro Baltazar [aut, cre, cph], Clark Cooper [ctb], Fred L. Drake, Jr. [ctb], Greg Stein [ctb], James Clark [ctb], Karl Waclawek [ctb], Rhodri James [ctb], Sebastian Pipping [ctb], Steven Solie [ctb], William Ahern [ctb], Jean-Philippe Aumasson [ctb], Daniel J. Bernstein [ctb], Victor Stinner [ctb]

zuxml_0.1.0.tar.gz
zuxml_0.1.0.zip(r-4.7-x86_64)zuxml_0.1.0.zip(r-4.7-arm64)zuxml_0.1.0.zip(r-4.6-x86_64)zuxml_0.1.0.zip(r-4.6-arm64)
zuxml_0.1.0.tar.gz(r-4.7-arm64)zuxml_0.1.0.tar.gz(r-4.7-x86_64)zuxml_0.1.0.tar.gz(r-4.6-arm64)zuxml_0.1.0.tar.gz(r-4.6-x86_64)
zuxml_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
zuxml/json (API)

# Install 'zuxml' in R:
install.packages('zuxml', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/pedrobtz/zuxml/issues

Pkgdown/docs site:https://pedrobtz.github.io

On CRAN:

Conda:

3.18 score 8 scripts 24 exports 0 dependencies

Last updated from:c278846179. Checks:10 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK120
linux-devel-x86_64OK162
source / vignettesOK166
linux-release-arm64OK112
linux-release-x86_64OK117
windows-devel-arm64OK211
windows-devel-x86_64OK133
windows-release-arm64OK209
windows-release-x86_64OK113
wasm-releaseOK87

Exports:xml_attrxml_attrsxml_childrenxml_elementsxml_encodingxml_findxml_find_firstxml_listxml_localxml_namexml_nsxml_parentxml_parsexml_prefixxml_readxml_rootxml_serializexml_standalonexml_tablexml_textxml_typexml_versionxml_writezuxml_info

Dependencies:

Linking Expat from another package
Who this is for | The two modes | What an installed zuxml gives you | There is no LinkingTo for a library | configure | src/Makevars.in | DESCRIPTION | Which Expat you are getting | What you do not inherit | Check that you actually linked it | A worked example

Last update: 2026-10-27
Started: 2026-10-27

Parsing untrusted XML
What the build actually contains | XXE | Entity expansion ("billion laughs") | allow_doctype, and the one rule it does not relax | Limits | Handling the errors | Encoding | What this does not protect you from | Summary

Last update: 2026-10-27
Started: 2026-10-27

Streaming large documents
Who this is for | Why the seam is C, not R | The contract that makes chunking safe | Using it from C | Errors and limits behave the same as from R | A note on memory

Last update: 2026-10-27
Started: 2026-10-27

Readme and manuals

Help Manual

Help pageTopics
Document metadataxml_encoding xml_metadata xml_standalone xml_version
Navigate an XML documentxml_children xml_elements xml_find xml_find_first xml_navigate xml_parent xml_root
Parse an XML documentxml_parse xml_read
Read properties of XML nodesxml_attr xml_attrs xml_local xml_name xml_ns xml_prefix xml_properties xml_text xml_type
Serialize XMLas.character.zuxml_document as.character.zuxml_nodeset xml_serialize xml_write
Extract tables and listsxml_list xml_table
Report the zuxml build configurationzuxml_info
Conditions raised by zuxmlzuxml-conditions