[R] How to modify XML documents and save changes
steffen.durinck at esat.kuleuven.ac.be
Tue Feb 25 11:46:02 CET 2003
I want to read XML documents, add child nodes to some elements and store
everything back as an XML document.
I've tryed the following:
doc <- xmlTreeParse("file.xml")
append.xmlNode(QTListNode[],newXMLNode(name ="Norm", attrs = NULL))
saveXML(doc, file = "out.xml", compression = 0, indent=T)
This doesn't seem to work.
Can anyone help?
More information about the R-help