in reply to Extracting information from XML file

If you install XML::Twig you can also do:

xml_grep -t report-name file.xml