in reply to Re^2: Redefining a method in XML::SAX::PurePerlin thread Redefining a method in XML::SAX::PurePerl
XML::Twig has a method called simplify, that emulates XML::Simple's XMLin, maybe you can use it.