To cite package ‘XML’ in publications use:

Temple Lang D (2026). XML: Tools for Parsing and Generating XML Within R and S-Plus. R package version 3.99-0.23, https://CRAN.R-project.org/package=XML.

Corresponding BibTeX entry:

  @Manual{,
    title = {XML: Tools for Parsing and Generating XML Within R and
      S-Plus},
    author = {Duncan {Temple Lang}},
    year = {2026},
    note = {R package version 3.99-0.23},
    url = {https://CRAN.R-project.org/package=XML},
  }