+ <para>
+ Now we need to create the Zebra database, which we do with the
+ Zebra indexer, <literal>zebraidx</literal>. This program's
+ behaviour is driven by a configuration life, generally called
+ <literal>zebra.cfg</literal>, although this can be changed with the
+ <literal>-c</literal> option. For our purposes, we don't need any
+ special behaviour - we can use the defaults - so an empty
+ configuration will do just fine. We can either create an empty
+ <literal>zebra.cfg</literal> or specify the name of an existing
+ empty file using, for example, <literal>-c /dev/null</literal>.
+ </para>
+ <para>
+ In this case, we'll use an empty <literal>zebra.cfg</literal> so
+ we can add more configuration to it later.
+ </para>
+ <para>
+ That's all you need for a minimal Zebra configuration. Now you can
+ roll the XML records into the database and build the indexes:
+ <screen>
+ zebraidx -t grs.sgml update records
+ </screen>
+ (### What does "grs.sgml" actually mean?)
+ </para>
+ <para>
+ Now start the server. Like the indexer, its behaviour is
+ controlled by a configuration file, generally
+ <literal>zebra.cfg</literal>; and like the indexer, it works just
+ fine with an empty configuration.
+ <screen>
+ zebrasrv
+ </screen>
+ By default, the server listens on IP port number 9999, although
+ this can easily be changed.
+ </para>
+ <para>
+ Now you can use the Z39.50 client program of your choice to execute
+ XPath-based boolean queries and fetch the XML records that satisfy
+ them:
+ <screen>
+ Z> open tcp:@:9999
+ Connecting...Ok.
+ Z> find @attr 1=/GENUS/MEANING @or vertebra jaw
+ Number of hits: 1
+ Z> format xml
+ Z> show 1
+ Z> show 1
+ <GENUS name="Hudiesaurus" type="with" xmlns:idzebra="http://www.indexdata.dk/zebra/">
+ <MEANING>
+ butterfly <LOW>vertebra</LOW> lizard
+ </MEANING>
+ <LENGTH value="30"></LENGTH>
+ <PLACE name="China"></PLACE>
+ <REMAINS content="4 teeth, forelimb, first dorsal vertebra"></REMAINS>
+ <SPECIES name="sinojapanorum" status="nudum">
+ <AUTHOR name="Dong" year="1997"></AUTHOR>
+ <MEANING>
+ Chinese-Japanese
+ </MEANING>
+ </SPECIES>
+ <idzebra:size>359</idzebra:size><idzebra:localnumber>447</idzebra:localnumber><idzebra:filename>records/genera.xml</idzebra:filename></GENUS>
+ </screen>
+ </para>
+ <para>
+ Now wasn't that easy?
+ </para>
+ </sect1>