inst/examples/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]]))
cosmicexplorer/xmlr documentation built on May 30, 2019, 8:28 a.m.