# NOT RUN {
# An R-level XMLNode object
a <- xmlNode("arg", attrs = c(default="T"),
xmlNode("name", "foo"), xmlNode("defaultValue","1:10"))
xmlAttrs(a) = c(a = 1, b = "a string")
# }
Run the code above in your browser using DataLab