Skip to content

Commit 6077d6f

Browse files
committed
Improve mapping for 490 #589
1 parent d9aec25 commit 6077d6f

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

metafacture-runner/src/main/dist/examples/marc21-to-edm/MARC21-EDM.fix

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,19 @@ paste("edm:ProvidedCHO.#dcterms:language","~http://id.loc.gov/vocabulary/iso639-
273273

274274

275275
if exists("490??")
276-
paste("edm:ProvidedCHO.dcterms:bibliographicCitation","490??.a","~ ; ","490??.v", join_char:"")
276+
do list(path:"490??","var":"$i")
277+
do list(path:"$i.a", "var":"$j")
278+
copy_field("$j", "$i.label.$append")
279+
end
280+
join_field("$i.label", " / ")
281+
282+
do list(path:"$i.v", "var":"$j")
283+
copy_field("$j", "$i.numbering.$append")
284+
end
285+
join_field("$i.numbering")
286+
prepend("$i.numbering"," ; ")
287+
paste("edm:ProvidedCHO.dcterms:bibliographicCitation","$i.label","$i.numbering", join_char:"")
288+
end
277289
end
278290

279291
copy_field("1[10]01 .a","edm:ProvidedCHO.dc:creator.$append")

0 commit comments

Comments
 (0)