Displaying 1 result from an estimated 1 matches for "xmlflatlisttree".
2011 Aug 26
0
How to use xmlFlatListTree?
...analyse data in an xml file. I successfully loaded the data
into lists using:
doc <- xmlTreeParse("PSparsed.xml", getDTD = F)
I was going to write a script to traverse the tree and flatten the hierarchy
into a rectangular form to fit into a data.frame, but it seems like
xmlHashTree and xmlFlatListTree are made to do this for me. I've been
following the examples in the package specification document to figure out
how to use these functions, and I'm stuck.
1. When I type: ls("package:XML"), xmlHashTree is listed as a function, but
xmlFlatListTree is NOT.
Is xmlFlatListTree a f...