I am biased about XML modules - XML::Twig is one of several I have tried and rejected several times on meeting different XML parsing challenges. The one I like best based on programmer experience is XML::Parser. The fact that an early version was written by Larry Wall might have something to do with it.