# NOT RUN {
nn = newXMLNode("foo", attrs = c(a = "123", 'r:show' = "true"),
namespaceDefinitions = c(r = "http://www.r-project.org"))
a = xmlAttrs(nn)
a["show"]
# }
Run the code above in your browser using DataCamp Workspace