in reply to Parsing generic XML

Casting a recommend here for XML::Twig.   I have consistently found that, when XML is concerned (and especially if they are really big files ... or might become so ...) the “big guns” are the best.