File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
metafacture-runner/src/main/dist/examples/transform/pica-to-marcxml Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 11# maps PICA+ to marc21Xml -->
22# setting the encoding scheme is mandatory. This sets it to utf8. -->
33add_field("leader.characterCodingScheme","a")
4+
45# directly invoke "data" creats "controlfields" -->
6+ copy_field("003@.0","001")
57
6- if exists("003@.0")
7- copy_field("003@.0","001")
8- else
9- add_field("001","no_id")
10- end
118# entities triggers creation of "datafields" following the pattern: -->
129# 'entity.name="$fieldname$ind1$ind2"' => '<datafield tag="$fieldname" ind1="$ind1" ind2="$ind2">' -->
1310# and 'source.name="$subfield" => <subfield code="$subfield"/> -->
Original file line number Diff line number Diff line change @@ -9,5 +9,7 @@ as-lines|
99lines-to-records|
1010decode-pica(normalizedSerialization="false", ignoreMissingIdn="true")|
1111fix(FLUX_DIR + "pica-to-marcxml.fix")|
12- encode-marcxml(ensurecorrectmarc21xml="true")|
12+ encode-marc21|
13+ decode-marc21(emitLeaderAsWhole="true", ignoreMissingId="true")|
14+ encode-marcxml|
1315write("stdout");
You can’t perform that action at this time.
0 commit comments