Displaying 1 result from an estimated 1 matches for "petitxmlwinamp".
2012 Apr 26
0
Modifying values into XML with R
...rt in R both libraries, extract their playcounts and merge them. But now I'm stuck at putting back this new playcount into the original XML.
Here is a reproducible example showing what I want to do:
######
### first download one of my xml from :
## https://www.dropbox.com/s/qxteao3z8ypyfqh/petitXMLwinamp.xml
## load it in R and root it:
winamp<-xmlTreeParse("petitXMLwinamp.xml", useInternal = T)
racine <- xmlRoot(winamp)
racine # to view the library
### I can extract one song (the first one for the example):
une.chanson <- xmlSApply(racine[[1]][["dict"]][[...