in reply to Parsing XML file and removing the element
xml_grep --exclude dummy_record your_xml_file.xml [download]