adding marcxml namespace to the wrapping collection element
authorMike Rylander <miker@esilibrary.com>
Wed, 29 Apr 2009 15:22:08 +0000 (15:22 +0000)
committerMike Rylander <miker@esilibrary.com>
Wed, 29 Apr 2009 15:22:08 +0000 (15:22 +0000)
marc_cleanup

index 2f78eb9..aaf324b 100755 (executable)
@@ -28,7 +28,7 @@ open my $NUMARC, '>:utf8', $conf->{output}
 open my $OLD2NEW, '>', 'old2new.map'
   if ($conf->{'renumber-from'} and $conf->{'original-subfield'});
 my $EXMARC = 'EX';
-print $NUMARC "<collection>\n";
+print $NUMARC "<collection xmlns=\"http://www.loc.gov/MARC21/slim\">\n";
 
 $conf->{totalrecs} = `grep -c '<record' $marcfile`;
 chomp $conf->{totalrecs};