Bugs/createXMLNode.R

library(XML)
gctorture(TRUE)
a = newXMLNode("a") ; b = newXMLNode("b", "boo", parent = a); c = newXMLNode("c", "hoo", parent = a)
print(a)

#xmlValue(a[["b"]]) <- "mo"
#print(a)

xmlValue(a[["c"]]) <- "jo"
print(a)

Try the XML package in your browser

Any scripts or data that you put into this service are public.

XML documentation built on Aug. 19, 2018, 5:03 p.m.