-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN"
- "http://www.oasis-open.org/docbook/xml/4.1/docbookx.dtd"
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.4//EN"
+ "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"
[
<!ENTITY % local SYSTEM "local.ent">
%local;
<refentryinfo>
<productname>YAZ</productname>
<productnumber>&version;</productnumber>
+ <info><orgname>Index Data</orgname></info>
</refentryinfo>
+
<refmeta>
<refentrytitle>yaz-marcdump</refentrytitle>
<manvolnum>1</manvolnum>
+ <refmiscinfo class="manual">Commands</refmiscinfo>
</refmeta>
<refnamediv>
<arg choice="opt"><option>-f <replaceable>from</replaceable></option></arg>
<arg choice="opt"><option>-t <replaceable>to</replaceable></option></arg>
<arg choice="opt"><option>-l <replaceable>spec</replaceable></option></arg>
- <arg choice="opt"><option>-v</option></arg>
<arg choice="opt"><option>-c <replaceable>cfile</replaceable></option></arg>
<arg choice="opt"><option>-s <replaceable>prefix</replaceable></option></arg>
<arg choice="opt"><option>-C <replaceable>size</replaceable></option></arg>
+ <arg choice="opt"><option>-n</option></arg>
<arg choice="opt"><option>-p</option></arg>
+ <arg choice="opt"><option>-v</option></arg>
+ <arg choice="opt"><option>-V</option></arg>
<arg choice="opt" rep="repeat">file</arg>
</cmdsynopsis>
</refsynopsisdiv>
Specifies input format. Must be one of
<literal>marcxml</literal>, <literal>marc</literal> (ISO2709),
<literal>marcxchange</literal> (ISO25577),
- <literal>line</literal> (line mode MARC).
+ <literal>line</literal> (line mode MARC),
+ or <literal>turbomarc</literal> (Turbo MARC).
</para></listitem>
</varlistentry>
Specifies output format. Must be one of
<literal>marcxml</literal>, <literal>marc</literal> (ISO2709),
<literal>marcxchange</literal> (ISO25577),
- <literal>line</literal> (line mode MARC).
+ <literal>line</literal> (line mode MARC),
+ or <literal>turbomarc</literal> (Turbo MARC).
</para></listitem>
</varlistentry>
Specify the character set <replaceable>from</replaceable>
of the input MARC record.
Should be used in conjunction with option <literal>-t</literal>.
+ Refer to the yaz-iconv man page for supported character sets.
</para></listitem>
</varlistentry>
Specify the character set <replaceable>of</replaceable>
of the output.
Should be used in conjunction with option <literal>-f</literal>.
+ Refer to the yaz-iconv man page for supported character sets.
</para></listitem>
</varlistentry>
</varlistentry>
<varlistentry>
- <term>-v</term>
- <listitem><para>
- Writes more information about the parsing process.
- Useful if you have ill-formatted ISO2709 records as input.
- </para></listitem>
- </varlistentry>
-
- <varlistentry>
<term>-s <replaceable>prefix</replaceable></term>
<listitem><para>
Writes a chunk of records to a separate file with prefix given,
</para></listitem>
</varlistentry>
+ <varlistentry>
+ <term>-n</term>
+ <listitem><para>
+ MARC output is omitted so that MARC input is only checkecd.
+ </para></listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>-v</term>
+ <listitem><para>
+ Writes more information about the parsing process.
+ Useful if you have ill-formatted ISO2709 records as input.
+ </para></listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>-V</term>
+ <listitem><para>
+ Prints YAZ version.
+ </para></listitem>
+ </varlistentry>
+
</variablelist>
</refsect1>
yaz-marcdump -f MARC-8 -t UTF-8 -o marcxml marc21.raw >marcxml.xml
</screen>
</para>
+
+ <para>
+ Turbo MARC is a compact XML notation with same semantics as
+ MARCXML, but which allows for faster processing via XSLT. In order
+ to generate Turbo MARC records encoded in UTF-8 from MARC21 (ISO), one
+ could use:
+ <screen>
+ yaz-marcdump -f MARC8 -t UTF8 -o turbomarc -i marc marc21.raw >out.xml
+ </screen>
+ </para>
</refsect1>
<refsect1><title>FILES</title>
</refsect1>
<refsect1><title>SEE ALSO</title>
<para>
- yaz(7)
+ <citerefentry>
+ <refentrytitle>yaz</refentrytitle>
+ <manvolnum>7</manvolnum>
+ </citerefentry>
+ </para>
+ <para>
+ <citerefentry>
+ <refentrytitle>yaz-iconv</refentrytitle>
+ <manvolnum>1</manvolnum>
+ </citerefentry>
+ </para>
+ <para>
+ <ulink url="&url.marcxml;">MARCXML</ulink>.
+ </para>
+ <para>
+ <ulink url="&url.marcxchange;">ISO25577</ulink>.
</para>
</refsect1>
</refentry>