<chapter id="examples">
- <!-- $Id: examples.xml,v 1.1 2002-08-29 01:16:12 mike Exp $ -->
+ <!-- $Id: examples.xml,v 1.2 2002-08-29 16:30:22 mike Exp $ -->
<title>Example Configurations</title>
<sect1>
<para>
Go to the
<literal>zebra/examples/dinosauricon</literal>
- directory. There you will find three significant files:
+ directory. There you will find two significant files:
</para>
<itemizedlist>
which is as short and simple as it can be:
<!-- ### Keep this up to date -->
<screen>
- # $Header: /home/cvsroot/idis/doc/examples.xml,v 1.1 2002-08-29 01:16:12 mike Exp $
+ # $Header: /home/cvsroot/idis/doc/examples.xml,v 1.2 2002-08-29 16:30:22 mike Exp $
# Bare-bones master configuration file for Zebra
- attset: bib1.att
+ profilePath: .:../../tab:../../../yaz/tab
</screen>
Apart from the comments, which are ignored, all this specifies is
that the server should recognise the attribute set described in
<!-- ### What is an attribute set? -->
</listitem>
+<!--
<listitem>
<para>
The BIB-1 attribute set configuration file,
<literal>bib1.att</literal>, which is also as short as possible:
- <!-- ### Keep this up to date -->
<screen>
- # $Header: /home/cvsroot/idis/doc/examples.xml,v 1.1 2002-08-29 01:16:12 mike Exp $
+ # $Header: /home/cvsroot/idis/doc/examples.xml,v 1.2 2002-08-29 16:30:22 mike Exp $
# Bare-bones BIB-1 attribute set file for Zebra
reference Bib-1
</screen>
<literal>Bib-1</literal>, a name recognised by the system as
referring to a well-known opaque identifier that is transmitted
by clients as part of their searches.
- <!-- ### Yeuch! Surely we can say that better! -->
+ ### Yeuch! Surely we can say that better!
</para>
<para>
### Can't we somehow say this trivial thing in the main
configuration file?
</para>
</listitem>
+-->
</itemizedlist>
<para>
Z> open tcp:@:9999
Connecting...Ok.
Z> find @attr 1=/GENUS/MEANING @or vertebra jaw
- Number of hits: 2
+ Number of hits: 1
Z> format xml
Z> show 1
- <GENUS name="Anurognathus" type="with" xmlns:idzebra="http://www.indexdata.dk/zebra/"><SPECIES name="ammoni"><AUTHOR name="Doederline" year="1923"></AUTHOR></SPECIES><MEANING>tailless<I>or</I>anuran<LOW>(frog)</LOW>jaw</MEANING><TIME value="Tithonian" section="late"></TIME><PLACE name="Germany"></PLACE><LENGTH wingspan="1" value=".5"></LENGTH><idzebra:size>304</idzebra:size><idzebra:localnumber>70</idzebra:localnumber><idzebra:filename>records/genera.xml</idzebra:filename></GENUS>
+ 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>
</sect1>
<?xml version="1.0" standalone="no"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"@DTD_DIR@/docbookx.dtd" [
+ <!ENTITY chap-examples SYSTEM "examples.xml">
<!ENTITY chap-introduction SYSTEM "introduction.xml">
<!ENTITY chap-installation SYSTEM "installation.xml">
<!ENTITY chap-quickstart SYSTEM "quickstart.xml">
<!ENTITY app-license SYSTEM "license.xml">
<!ENTITY app-indexdata SYSTEM "indexdata.xml">
]>
-<!-- $Id: zebra.xml.in,v 1.7 2002-08-27 07:49:23 mike Exp $ -->
+<!-- $Id: zebra.xml.in,v 1.8 2002-08-29 16:30:22 mike Exp $ -->
<book id="zebra">
<bookinfo>
<title>Zebra - User's Guide and Reference</title>
</abstract>
</bookinfo>
+ &chap-examples;
&chap-introduction;
&chap-installation;
&chap-quickstart;