projects
/
migration-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
c4f5655
)
adding marcxml namespace to the wrapping collection element
author
Mike Rylander
<miker@esilibrary.com>
Wed, 29 Apr 2009 15:22:08 +0000 (15:22 +0000)
committer
Mike Rylander
<miker@esilibrary.com>
Wed, 29 Apr 2009 15:22:08 +0000 (15:22 +0000)
marc_cleanup
patch
|
blob
|
history
diff --git
a/marc_cleanup
b/marc_cleanup
index
2f78eb9
..
aaf324b
100755
(executable)
--- a/
marc_cleanup
+++ b/
marc_cleanup
@@
-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};