https://github.com/cran/XML
Raw File
Tip revision: 9568fa60a03fc8001e0af3298f483646c819f011 authored by CRAN Team on 05 July 2020, 13:13:52 UTC
version 3.99-0.4
Tip revision: 9568fa6
mi1.R
system.time(z <- xmlTreeParse("~/mi1.xml", useInternal = TRUE))

nn = getNodeSet(z, "/*/molecule/name")
length(nn)

ids = sapply(nn,function(x) xmlValue(x[[1]]))

back to top