perl name_of_script < old_file.xml > new_file.xml