yaz-record-conv - Man Page
YAZ Record Conversion Utility
Synopsis
yaz-record-conv [-v loglevel] [config] [fname...]
Description
yaz-record-conv is a program that exercises the record conversion sub system. Refer to record_conv.h header.
Options
- -v level
Sets the LOG level to level. Level is a sequence of tokens separated by comma. Each token is a integer or a named LOG item - one of fatal, debug, warn, log, malloc, all, none.
Examples
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>
Files
record_conv.h
See Also
Authors
Index Data
Info
09/19/2024 YAZ 5.34.2 Commands