X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2Fexamples.xml;h=4805c29069a95457b585d1649fe18073e975a485;hb=aa36decbdd330b8858eac641056bf607a8eea8a1;hp=10867efb3d4740be36c35d425368e6266e18522f;hpb=807d2c445492c36b95b7ef1b3202ccdc0e302aa5;p=idzebra-moved-to-github.git diff --git a/doc/examples.xml b/doc/examples.xml index 10867ef..4805c29 100644 --- a/doc/examples.xml +++ b/doc/examples.xml @@ -1,5 +1,5 @@ - + Example Configurations @@ -10,7 +10,7 @@ driven by a master configuration file, which may refer to other subsidiary configuration files. By default, they try to use zebra.cfg in the working directory as the - master file; but this can be changed using the -t + master file; but this can be changed using the -c option to specify an alternative master configuration file. @@ -76,7 +76,7 @@ minimal file that just tells zebraidx where to find the default indexing rules, and how to parse the records: - profilePath: .:../../tab:../../../yaz/tab + profilePath: .:../../tab recordType: grs.sgml @@ -148,7 +148,7 @@ structure of the documents in order to find them. For example, when we wanted to know the genera for which Matt Wedel is an author - (Sauroposeidon proteles), + (Sauroposeidon proteles), we had to formulate a complex XPath 1=/GENUS/SPECIES/AUTHOR/@name which embodies the knowledge that author names are specified in the @@ -218,6 +218,12 @@ want to support the BIB-1 attribute set. Then we need to tell it which elements of its record pertain to access point 1003. + + We need to create an Abstract Syntax + file named after the document element of the records we're + working with, plus a .abs suffix - in this case, + GENUS.abs - as follows: + @@ -234,39 +240,6 @@ - - - -