in reply to Parsing a highly nested XML file correctly and efficiently

nesting not important, its a tree, pick the branch you want, then walk it, its simple, see Re^3: parse xml and store data in array of hashesh, xpather.pl / examples(for tree-xpath and others)/walkthroughs/tutorials ...

start with  /DatatoParse/elt