1YAZ-RECORD-ICONV(1) Commands YAZ-RECORD-ICONV(1)
2
3
4
6 yaz-record-conv - YAZ Record Conversion Utility
7
9 yaz-record-conv [-v loglevel] [config] [fname...]
10
12 yaz-record-conv is a program that exercises the record conversion sub
13 system. Refer to record_conv.h header.
14
16 -v level
17 Sets the LOG level to level. Level is a sequence of tokens
18 separated by comma. Each token is a integer or a named LOG item -
19 one of fatal, debug, warn, log, malloc, all, none.
20
22 The following backend configuration converts MARC records (ISO2709) to
23 Dublin-Core XML.
24
25 <backend name="F" syntax="usmarc">
26 <marc inputcharset="marc-8" inputformat="marc" outputformat="marcxml"/>
27 <xslt stylesheet="../etc/MARC21slim2DC.xsl"/>
28 </backend>
29
30
31
32 We can convert one of the sample records from YAZ' test directory with:
33
34 $ ../util/yaz-record-conv record-conv-conf.xml marc6.marc
35 <?xml version="1.0"?>
36 <dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/">
37 <dc:title>How to program a computer</dc:title>
38 <dc:creator>
39 Jack Collins
40 </dc:creator>
41 <dc:type>text</dc:type>
42 <dc:publisher>Penguin</dc:publisher>
43 <dc:language>eng</dc:language>
44 </dc:dc>
45
46
47
48
50 record_conv.h
51
53 yaz(7)
54
56 Index Data
57
58
59
60YAZ 5.32.0 05/30/2022 YAZ-RECORD-ICONV(1)