diff --git a/tools/export.pl b/tools/export.pl index cebae9011f..8c08602237 100755 --- a/tools/export.pl +++ b/tools/export.pl @@ -210,7 +210,11 @@ if ($op eq "export") { } } if ( $output_format eq "xml" ) { - print $record->as_xml_record($marcflavour); + if ($marcflavour eq 'UNIMARC' && $record_type eq 'auths') { + print $record->as_xml_record('UNIMARCAUTH'); + } else { + print $record->as_xml_record($marcflavour); + } } else { print $record->as_usmarc();