I have a very large XML file (If you care, it's an AIXM file from EAD, but that's not important). In order to figure out how it is used, I want to write a simple script that goes through and for every node, record what subnodes occur below it and how many times, so I can see which nodes contain <AptUid>
and whether most <Rdn>
nodes have a <GeoLat>
node or not, that sort of thing.
I tried to just load the whole thing into a hashref using XML::Simple, but it's too big to fit into memory. Is there an XML parser that will allow me to just look at the file a piece at a time?