From 496125ec5b13de49f4c34a2eb548467cfba0159a Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Thu, 29 Aug 2002 16:30:22 +0000 Subject: [PATCH] Running tweaks. I am cheating on the autoconf system at the moment, will be a good boy soon, honest injun. --- doc/examples.xml | 33 ++++++++++++++++++++++++--------- doc/zebra.xml.in | 4 +++- 2 files changed, 27 insertions(+), 10 deletions(-) diff --git a/doc/examples.xml b/doc/examples.xml index 1a08eae..3a49b6c 100644 --- a/doc/examples.xml +++ b/doc/examples.xml @@ -1,5 +1,5 @@ - + Example Configurations @@ -54,7 +54,7 @@ Go to the zebra/examples/dinosauricon - directory. There you will find three significant files: + directory. There you will find two significant files: @@ -74,9 +74,9 @@ which is as short and simple as it can be: - # $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 Apart from the comments, which are ignored, all this specifies is that the server should recognise the attribute set described in @@ -86,13 +86,13 @@ + - # $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 @@ -101,13 +101,14 @@ Bib-1, 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! ### Can't we somehow say this trivial thing in the main configuration file? +--> @@ -130,10 +131,24 @@ 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> diff --git a/doc/zebra.xml.in b/doc/zebra.xml.in index e333702..e3032ce 100644 --- a/doc/zebra.xml.in +++ b/doc/zebra.xml.in @@ -1,6 +1,7 @@ @@ -11,7 +12,7 @@ ]> - + Zebra - User's Guide and Reference @@ -49,6 +50,7 @@ + &chap-examples; &chap-introduction; &chap-installation; &chap-quickstart; -- 1.7.10.4