X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=doc%2Fexamples.xml;h=aefb286934d1da873a7d955d1f71b118883da494;hb=49f49aa27c8d63cea66dfb5a9e06e5735c835509;hp=86d8c5950b59fcff0a1c0d1058b10200ae0d7329;hpb=5243917e35bcd84925e89f609d291658a188e45b;p=idzebra-moved-to-github.git diff --git a/doc/examples.xml b/doc/examples.xml index 86d8c59..aefb286 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 @@ -125,12 +125,11 @@ was perhaps the tallest. With its head raised, it stood 60 feet (nearly 20 m) tall. </P> </ESSAY> - <idzebra xmlns="http://www.indexdata.dk/zebra/"> - <size>593</size> - <localnumber>891</localnumber> - <filename>records/genera.xml</filename> - </idzebra> + <size>593</size> + <localnumber>891</localnumber> + <filename>records/genera.xml</filename> + </idzebra> </GENUS> @@ -147,7 +146,9 @@ The problem with the previous example is that you need to know the 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, we had to formulate a complex XPath + author + (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 name attribute of the @@ -182,8 +183,8 @@ and well defined. - For convenience, access points are gathered into attribute - sets. For example, the BIB-1 attribute set is supposed to + For convenience, access points are gathered into attribute + sets. For example, the BIB-1 attribute set is supposed to contain bibliographic access points such as author, title, subject and ISBN; the GEO attribute set contains access points pertaining to geospatial information (bounding box, ###, etc.); the CIMI @@ -216,64 +217,26 @@ want to support the BIB-1 attribute set. Then we need to tell it which elements of its record pertain to access point 1003. - - - - - - - + + + +