root/main/trunk/greenstone2/etc/dc2marc-mapping.xml @ 31950

Revision 15016, 7.8 KB (checked in by davidb, 12 years ago)

attribute "datafield" was used in mapping that, on closer inspection, should be mapped as "tag". Mapping files updated and an exported collection tested with the Marc Java utility marc4j

  • Property svn:keywords set to Author Date Id Revision
Line 
1<Mapping>
2    <!-- English-->
3    <stopwords lang="en" >
4      <item  name="a " length="2"/>
5      <item  name="an " length="3"/>
6      <item  name="the " length="4"/>
7      <item  name="A " length="2"/>
8      <item  name="An " length="3"/>
9      <item  name="The " length="4"/>
10      <item  name="AN " length="3"/>
11      <item  name="THE " length="4"/>     
12    </stopwords>
13
14    <!--Spain-->
15    <stopwords lang="es">
16      <item  name="uno " length="4"/>
17      <item  name="una " length="4"/>
18      <item  name="el " length="3"/>
19      <item  name="la " length="3"/>
20      <item  name="las " length="4"/>
21      <item  name="los " length="4"/>
22      <item  name="un " length="3"/>
23      <item  name="unos " length="5"/>
24      <item  name="unas " length="5"/>
25    </stopwords>
26
27  <!--Catalan-->
28  <stopwords lang="ca">
29     <item  name="el " length="3"/>
30     <item  name="la " length="3"/>
31     <item  name="les " length="4"/>
32     <item  name="l'" length="2"/>
33     <item  name="un " length="3"/>
34     <item  name="una " length="4"/>
35     <item  name="uns " length="4"/>
36     <item  name="unes " length="5"/>
37     <item  name="es " length="3"/>
38     <item  name="sa " length="3"/>
39     <item  name="ses " length="4"/>
40     <item  name="sos " length="4"/>
41     <item  name="so " length="3"/>
42     <item  name="s'" length="2"/>
43   </stopwords>
44 
45  <!--German--> 
46  <stopwords lang="de">
47     <item  name="der " length="4"/>
48     <item  name="ein " length="4"/>
49     <item  name="die " length="4"/>
50     <item  name="eine " length="5"/>
51     <item  name="das " length="4"/>
52   </stopwords>
53
54  <!--French-->
55  <stopwords lang="fr">
56     <item  name="le " length="3"/>
57     <item  name="la " length="3"/>
58     <item  name="les " length="4"/>
59     <item  name="un " length="3"/>
60     <item  name="une " length="4"/>
61     <item  name="l'" length="2"/>   
62  </stopwords>
63
64  <!--Italian--> 
65  <stopwords lang="it">
66     <item  name="il " length="3"/>
67     <item  name="lo " length="3"/>
68     <item  name="la " length="3"/>
69     <item  name="gli " length="4"/>
70     <item  name="le " length="3"/>
71     <item  name="un " length="3"/>
72     <item  name="uno " length="4"/>
73     <item  name="una " length="4"/>
74     <item  name="l'" length="2"/>
75     <item  name="un'" length="3"/>
76  </stopwords>
77
78   <!--Galician--> 
79  <stopwords lang="gl">
80     <item  name="o " length="2"/>
81     <item  name="os " length="3"/>
82     <item  name="a " length="2"/>
83     <item  name="as " length="3"/>
84     <item  name="un " length="3"/>
85     <item  name="uns " length="4"/>
86     <item  name="unha " length="5"/>
87     <item  name="unhas " length="6"/>
88   </stopwords>
89   
90   <recordTypeMapping>
91       <type name="collection" mapping="p"/>
92       <type name="dataset" mapping="m"/>
93       <type name="event" mapping="r"/>
94       <type name="image" mapping="k"/>
95       <type name="interactive resource" mapping="m"/>
96       <type name="service" mapping="m"/>
97       <type name="software" mapping="m"/>
98       <type name="sound" mapping="i"/>
99       <type name="text" mapping="a"/>     
100    </recordTypeMapping>
101
102    <leader>
103       <recordLength pos="1" value="00000" />
104       <recordStatus pos="5" value="n" />
105       <recordType pos="6" value="a" />
106       <bibliographiclevel pos="7" value="m" />
107       <controlType pos="8" value=" " />
108       <codingScheme pos="9" value=" " />
109       <indicatorCount pos="10" value="2" />
110       <subfieldCodeCount pos="11" value="2" />
111       <dataBaseAddress pos="12" value="     " />
112       <encodingLevel pos="17" value="3" />
113       <descriptiveCatalogForm pos="18" value="u" />
114       <linkedRecordRequirement pos="19" value=" " />
115       <lpLength pos="20" value="4" />
116       <scpLength pos="21" value="5" />
117       <idLength pos="22" value="0" />
118       <emcpLength pos="23" value="0" />
119    </leader>
120       
121    <controlfield tag="001" value="the value of code 001" required="true" />
122    <controlfield tag="002" value="the value of code 002" required="false"/>
123    <controlfield tag="003" value="the value of code 003" required="true"/>
124    <controlfield tag="004" value="the value of code 004" required="false"/>
125    <controlfield tag="005" value="the value of code 005" required="false"/>
126    <controlfield tag="006" value="the value of code 006" required="false"/>
127    <controlfield tag="008" value="the value of code 008" required="true"/>   
128
129<!--this mapping provides duclin core to the following Marc fields mapping:   
130    024 |a[dc.Identifier]
131    245 |a[dc.Title]
132    246 |a[dc.Title] (repeated dc.Title)
133    260 |b[dc.Publisher] |c[dc.Date]
134    500 |a[dc.Coverage]
135    520 |a[dc.Description]
136    540 |a[dc.Rights]
137    546 |a[dc.Language]
138    653 |a[dc.Subject]
139    655 |s[dc.Type]
140    720 |a[dc.Contributor] |a[dc.Creator]
141    787 |n[dc.Relation]
142    786 |n[dc.Source]
143    856 |q[dc.Format]
144-->
145
146 <!--if the first or second indicator is "nonfiling characters",
147     one of subfields must have a "nonfiling" attribute with the "true" value
148     to indicate that the begining of this subfield is to be disregarded.
149     see MarcField 245.
150-->
151
152<!--If the marc field is same for the repeated metadata (the metadata for the first subfield),
153     set the "multiple" attibute to "true"     
154 -->
155
156<!--If the marc field is different for the repeated metadata (the metadata for the first subfield),
157     set the "repeat" attibute to "true"     
158 -->
159
160<!-- Title  -->
161<!--
162 <MarcField multiple="false" tag="245" ind1="0" ind2="nonfiling">
163     <subfield code="a" nonfiling="true"  meta="dc.Title" punc=""/>
164 </MarcField>
165
166-->
167
168 <MarcField multiple="false" tag="245" ind1="0" ind2=" ">
169     <subfield code="a" meta="dc.Title" punc=""/>
170 </MarcField>
171
172<!--
173  <MarcField multiple="false" tag="245" ind1="0" ind2=" ">
174     <subfield code="a" meta="dc.Title" punc=""/>
175  </MarcField>
176-->
177
178
179 <MarcField repeat="true" tag="246" ind1="3" ind2="3" >
180     <subfield code="a" meta="dc.Title" punc=""/>
181  </MarcField>
182 
183<!--Coverage -->
184  <MarcField multiple="true" tag="500" ind1=" " ind2=" ">
185     <subfield code="a" meta="dc.Coverage" punc=""/>
186  </MarcField>
187   
188
189<!--Contributor-->
190   <MarcField multiple="true" tag="720" ind1=" " ind2=" ">
191     <subfield code="a" meta="dc.Contributor" punc=","/>
192   </MarcField>
193
194<!--Creator-->
195 <MarcField  multiple="true"  tag="720" ind1=" " ind2=" ">
196     <subfield code="a" meta="dc.Creator" punc=","/>
197 </MarcField>
198
199 <!--Publisher and  Date-->
200   <MarcField  multiple="false" tag="260" ind1=" " ind2=" ">
201     <subfield code="b" meta="dc.Publisher" punc=","/>
202     <subfield code="c" meta="dc.Date" punc=""/>
203   </MarcField>
204
205 <!-- Descrption -->
206    <MarcField multiple="true" tag="520" ind1=" " ind2=" ">
207       <subfield code="a" meta="dc.Description" punc=""/>
208    </MarcField>
209   
210  <!--Format -->
211     <MarcField multiple="true" tag="856" ind1=" " ind2=" ">
212       <subfield code="q" meta="dc.Format" punc=""/>
213    </MarcField>
214   
215
216 <!--Identifier -->
217     <MarcField multiple="true" tag="024" ind1="8" ind2=" ">
218        <subfield code="b" meta="dc.Identifier" punc=""/>
219     </MarcField>
220
221 <!--Language-->
222 <MarcField  multiple="false" tag="546" ind1=" " ind2=" ">
223     <subfield code="a" meta="dc.Language" punc=""/>
224  </MarcField>
225       
226
227  <!-- relation -->
228   <MarcField  multiple="true" tag="787" ind1="0" ind2=" " >
229      <subfield code="n" meta="dc.Relation" punc=""/>
230   </MarcField>
231     
232  <!-- Right -->
233  <MarcField multiple="true" tag="540" ind1=" " ind2=" ">
234      <subfield code="a" meta="dc.Rights" punc=""/>
235  </MarcField>
236
237 <!-- subject -->
238  <MarcField multiple="true" tag="653" ind1=" " ind2=" ">
239    <subfield code="a" meta="dc.Subject" punc=","/>
240  </MarcField>
241
242<!-- source -->
243 <MarcField multiple="true" tag="786" ind1="0" ind2=" ">
244     <subfield code="n" meta="dc.Source" punc=""/>
245 </MarcField>
246 
247
248 <!-- type -->
249  <MarcField multiple="true" tag="655" ind1=" " ind2="7">
250     <subfield code="a" meta="dc.Type" punc=","/>
251  </MarcField>
252</Mapping>
Note: See TracBrowser for help on using the browser.