/[webpac]/trunk/tools/isis2marc.xml
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /trunk/tools/isis2marc.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 230 - (show annotations)
Wed Feb 25 10:49:32 2004 UTC (15 years, 9 months ago) by dpavlin
File MIME type: text/xml
File size: 1077 byte(s)
Lot of changes and improvements:
- documentation at beginning of script
- use XML file for configuration (as opposed to hard-coded values in script)
- example XML configuration can be created with ./isis2marc.pl > config.xml
- supports unique and non-unique output depending on presence of <key>
  tag in configuration file

1 <?xml version="1.0" encoding="ISO-8859-2"?>
2 <!--
3
4 This file defines filter for fields and configuration for
5 isis2marc.pl script. It should be specified as first
6 paramtar to isis2marc.pl
7
8 -->
9 <mapping>
10 <record>
11 <key>700$a</key>
12 <key>700$b</key>
13 <field tag="700">
14 <indicator1>#</indicator1>
15 <indicator2>1</indicator2>
16 <subfield id="a">700$a</subfield>
17 <subfield id="b">700$b</subfield>
18 </field>
19 <field tag="009">
20 <nosubfield>10</nosubfield>
21 </field>
22 </record>
23
24 <record>
25 <key>701$a</key>
26 <key>701$b</key>
27 <field tag="700">
28 <indicator1>#</indicator1>
29 <indicator2>1</indicator2>
30 <subfield id="a">701$a</subfield>
31 <subfield id="b">701$b</subfield>
32 </field>
33 <field tag="009">
34 <nosubfield>10</nosubfield>
35 </field>
36 </record>
37
38 <record>
39 <key>701$c</key>
40 <key>701$d</key>
41 <field tag="700">
42 <indicator1>#</indicator1>
43 <indicator2>1</indicator2>
44 <subfield id="a">701$c</subfield>
45 <subfield id="b">701$d</subfield>
46 </field>
47 <field tag="009">
48 <nosubfield>10</nosubfield>
49 </field>
50 </record>
51 </mapping>
52

Properties

Name Value
cvs2svn:cvs-rev 1.1

  ViewVC Help
Powered by ViewVC 1.1.26