YAZ-RECORD-ICONV(1) | Commands | YAZ-RECORD-ICONV(1) |
yaz-record-conv - YAZ Record Conversion Utility
yaz-record-conv [-v loglevel] [config] [fname...]
yaz-record-conv is a program that exercises the record conversion sub system. Refer to record_conv.h header.
-v level
The following backend configuration converts MARC records (ISO2709) to Dublin-Core XML.
<backend name="F" syntax="usmarc">
<marc inputcharset="marc-8" inputformat="marc" outputformat="marcxml"/>
<xslt stylesheet="../etc/MARC21slim2DC.xsl"/>
</backend>
We can convert one of the sample records from YAZ' test directory with:
$ ../util/yaz-record-conv record-conv-conf.xml marc6.marc <?xml version="1.0"?> <dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/">
<dc:title>How to program a computer</dc:title>
<dc:creator>
Jack Collins
</dc:creator>
<dc:type>text</dc:type>
<dc:publisher>Penguin</dc:publisher>
<dc:language>eng</dc:language> </dc:dc>
record_conv.h
Index Data
01/14/2019 | YAZ 5.27.1 |