in reply to Perl XML

I fully agree to Joost post. XML::Twig and XML::Parser will be sufficient for your parsing/checking needs. The following link contains some good tutorials and examples to start you on the job xmltwig. The tutorials in this link may be of help XML::Twig tutorials

Good Luck
May the force be with you !!