Re: [R] parse XML file

2011-06-29 Thread Kai Serschmarn
Thank you Barry, that works fine. Sorry for stupid questions... however, I couldn't manage to get a dataframe out of this. That's what I was doing: doc = xmlRoot(xmlTreeParse("de.dwd.klis.TADM.xml")) dumpData <- function(doc){ for(i in 1:length(doc)){ stns = doc[[i]]

[R] parse XML file

2011-06-29 Thread Kai Serschmarn
Hi all, this is my first post in this mailing group. I hope that anyboby could help me parsing a xml file. I found this website http://www.omegahat.org/RSXML/gettingStarted.html but unfortunately my XML file is not as easy as the one in the example. Example: http://werdis.dwd.de/css/UNIDA