X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2Frecordmodel-alvisxslt.xml;h=f9ad32025c8cbae48df8e8fc46fe22e4adf66eb6;hb=2ce46f160259c9452405b68489c16654919cd16c;hp=df73cb99294b3c825d75034b45802144cf37609f;hpb=43b4d8d93cd567284f4e48731119f3da2a1daedf;p=idzebra-moved-to-github.git
diff --git a/doc/recordmodel-alvisxslt.xml b/doc/recordmodel-alvisxslt.xml
index df73cb9..f9ad320 100644
--- a/doc/recordmodel-alvisxslt.xml
+++ b/doc/recordmodel-alvisxslt.xml
@@ -1,5 +1,5 @@
-
+
ALVIS XML Record Model and Filter Module
@@ -19,7 +19,7 @@
-
+
ALVIS Record Filter
The experimental, loadable Alvis XML/XSLT filter module
@@ -58,7 +58,7 @@
unique, these are the literal schema or
element set names used in
SRW,
- SRU and
+ SRU and
Z39.50 protocol queries.
The paths in the stylesheet attributes
are relative to zebras working directory, or absolute to file
@@ -76,7 +76,7 @@
identifier="http://indexdata.dk/zebra/xslt/1".
-
+
ALVIS Internal Record Representation
When indexing, an XML Reader is invoked to split the input
files into suitable record XML pieces. Each record piece is then
@@ -89,9 +89,9 @@
you can use this functionality inside the Alvis
filter configuration XSLT stylesheets.
-
+
-
+
ALVIS Canonical Indexing Format
The output of the indexing XSLT stylesheets must contain
certain elements in the magic
@@ -113,15 +113,15 @@
z:id="oai:JTRS:CP-3290---Volume-I"
z:rank="47896"
z:type="update">
- <z:index name="oai:identifier" type="0">
+ <z:index name="oai_identifier" type="0">
oai:JTRS:CP-3290---Volume-I</z:index>
- <z:index name="oai:datestamp" type="0">2004-07-09</z:index>
- <z:index name="oai:setspec" type="0">jtrs</z:index>
- <z:index name="dc:all" type="w">
- <z:index name="dc:title" type="w">Proceedings of the 4th
+ <z:index name="oai_datestamp" type="0">2004-07-09</z:index>
+ <z:index name="oai_setspec" type="0">jtrs</z:index>
+ <z:index name="dc_all" type="w">
+ <z:index name="dc_title" type="w">Proceedings of the 4th
International Conference and Exhibition:
World Congress on Superconductivity - Volume I</z:index>
- <z:index name="dc:creator" type="w">Kumar Krishen and *Calvin
+ <z:index name="dc_creator" type="w">Kumar Krishen and *Calvin
Burnham, Editors</z:index>
</z:index>
</z:record>
@@ -187,19 +187,51 @@
the same character normalization map w.
+ Finally, this example configuration can be queried using PQF
+ queries, either transported by Z39.50, (here using a yaz-client)
+
+ open localhost:9999
+ Z> elem dc
+ Z> form xml
+ Z>
+ Z> f @attr 1=dc:creator Kumar
+ Z> scan @attr 1=dc:creator adam
+ Z>
+ Z> f @attr 1=dc:title @attr 4=2 "proceeding congress superconductivity"
+ Z> scan @attr 1=dc:title abc
+ ]]>
+
+ or the proprietary
+ extentions x-pquery and
+ x-pScanClause to
+ SRU, and SRW
+
+
+
+ See for more information on SRU/SRW
+ configuration, and or the YAZ
+ CQL section
+ for the details or the YAZ frontend server.
+
+
Notice that there are no *.abs,
*.est, *.map, or other GRS-1
- filter configuration files involves in this process.
+ filter configuration files involves in this process, and that the
+ literal index names are used during search and retrieval.
-
-
+
+
-
+
ALVIS Record Model Configuration
-
+
ALVIS Indexing Configuration
As mentioned above, there can be only one indexing
@@ -257,7 +289,7 @@
-
+
@@ -266,7 +298,7 @@
-
+
@@ -337,9 +369,9 @@
to suffering and pain, and universal
disentigration of your project schedule.
-
+
-
+
ALVIS Exchange Formats
An exchange format can be anything which can be the outcome of an
@@ -386,9 +418,31 @@
-
+
+
+
+ ALVIS Filter OAI Indexing Example
+
+ The sourcecode tarball contains a working Alvis filter example in
+ the directory examples/alvis-oai/, which
+ should get you started.
+
+
+ More example data can be harvested from any OAI complient server,
+ see details at the OAI
+
+ http://www.openarchives.org/ web site, and the community
+ links at
+
+ http://www.openarchives.org/community/index.html.
+ There is a tutorial
+ found at
+
+ http://www.oaforum.org/tutorial/.
+
+
-
+
@@ -433,7 +487,7 @@ c) Main "alvis" XSLT filter config file:
and so on.
- in db/ a cql2pqf.txt yaz-client config file
- which is also used in the yaz-server CQL-to-PQF process
+ which is also used in the yaz-server CQL-to-PQF process
see: http://www.indexdata.com/yaz/doc/tools.tkl#tools.cql.map