Displaying 1 result from an estimated 1 matches for "usetagnam".
Did you mean:
usetagname
2007 Sep 01
2
Importing huge XML-Files
.../Soilrespirationrate>
<MRType2>
...
+ <personData>
+ <siteData>
I only need the measurement/MRType1 nodes - how can I do this?
Currently I am trying the following code:
xmlEventParse("/input.xml", list(startElement=xtract.startElement,
text=xtract.text), useTagName=TRUE, addContext = FALSE)
xtract.startElement <- function(name,attr){
startElement.name <<- c(startElement.name,name)
}
xtract.text <- function(text) {
startElement.value <<- c(startElement.value,text)
}
this only gives me two lists, one with the all node names (even the...