in reply to Re^2: Child contains attribute
in thread Child contains attribute

XML::Twig can handle big documents better; it doesn't need to load the whole thing into memory at once.