# NOT RUN {
f = system.file("exampleData", "mtcars.xml", package="XML")
doc = xmlParse(f)
getNodeSet(doc, "//variables[@count]")
getNodeSet(doc, "//record")
getNodeSet(doc, "//record[@id='Mazda RX4']")
# free(doc)
# }
Run the code above in your browser using DataLab