Re: [R] Basic editing of XML file

2015-08-13 Thread Ben Tupper
Hi, Your email client is set to send in HTML format which has mangled your message. Please set your client to send plain text to R-help. You could use the XML package to modify the attributes of a given node. > library(XML) # make an reproducible example > z <- newXMLNode("BLABLA", + attr

[R] Basic editing of XML file

2015-08-13 Thread Robert U
Dear RUser,I’m tryingto operate some very slight editing to the values of an XML file. I looked abit everywhere and it appears that dealing with XML files is not that easy… besidemy XML files might be a bit weirdly structured. Anyway, let me give you an exampleof it : Root(xmlfile)