comparison makemeta-vlp.pl @ 48:173e9823761e

fixed typo in mapping
author casties
date Thu, 14 Dec 2006 16:50:05 +0100
parents af4323868086
children 8e19bc5ca86a
comparison
equal deleted inserted replaced
47:c96683776ade 48:173e9823761e
8 8
9 # make output unbuffered 9 # make output unbuffered
10 $|=1; 10 $|=1;
11 11
12 # program version 12 # program version
13 my $version = "0.2.4 (5.12.2006 ROC)"; 13 my $version = "0.2.5 (14.12.2006 ROC)";
14 my $help = 14 my $help =
15 "use: makemeta-vlp [options] file.xml 15 "use: makemeta-vlp [options] file.xml
16 options: 16 options:
17 -debug show debugging info 17 -debug show debugging info
18 -dry-run simulate, dont'do anything 18 -dry-run simulate, dont'do anything
27 # mappings 27 # mappings
28 28
29 # generic mappings at top level 29 # generic mappings at top level
30 my %gen_map = ( 30 my %gen_map = (
31 'Custom2_Language' => 'meta/lang', 31 'Custom2_Language' => 'meta/lang',
32 'ProductionComment' => 'meta/image-acquisition/production-comment', 32 'productionComment' => 'meta/image-acquisition/production-comment',
33 'derivedFrom' => 'derived-from/archive-path' 33 'derivedFrom' => 'derived-from/archive-path'
34 ); 34 );
35 # sub type switch tag 35 # sub type switch tag
36 my %type_map = ( 36 my %type_map = (
37 'ReferenceType' => 'meta/bib@type' 37 'ReferenceType' => 'meta/bib@type'