search for: qtlistnode

Displaying 1 result from an estimated 1 matches for "qtlistnode".

Did you mean: listnode
2003 Feb 25
1
How to modify XML documents and save changes
Dear, 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") QTListNode<-xmlElementsByTagName(xmlRoot(doc)[[1]],"tagname") append.xmlNode(QTListNode[[1]],newXMLNode(name ="Norm", attrs = NULL)) saveXML(doc, file = "out.xml", compression = 0, indent=T) This doesn't seem to work. Can anyone help? Thanks, Steffen