|Welcome to the Monastery|
I vaguely imagined rewriting managedObject sub using regex,
Given the size of the OPs target files -- 100MB -- I'd drop the use of XML parser entirely and process the file as text.
That statement is tantamount to blasphemy around here, but it would be quicker, simpler and would work. And nobody would think twice if the files weren't labeled "XML".
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.