
Last chance! 50% off unlimited learning
Sale ends in
fileName <- system.file("exampleData", "mtcars.xml", package="XML")
doc <- xmlTreeParse(fileName)
xmlAttrs(doc$doc$children[["dataset"]])
xmlAttrs(doc$doc$children[["dataset"]][["variables"]])
Run the code above in your browser using DataLab