powered by
XMLNode
"names"(x)
xmlApply
xmlSApply
doc <- xmlTreeParse(system.file("exampleData", "mtcars.xml", package="XML")) names(xmlRoot(doc)) r <- xmlRoot(doc) r[names(r) == "variables"]
Run the code above in your browser using DataLab