X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=examples%2Fmarcxml%2FREADME;h=a222990538900678cea79379f1464da69942dc73;hb=bfaed8583b3284230b88624e7f8e849cdb48a703;hp=d3ce515674e9d661fc006515487ca607a683d0ec;hpb=447e063b2c639b03902f0db46d9eaf5b8edb788c;p=idzebra-moved-to-github.git diff --git a/examples/marcxml/README b/examples/marcxml/README index d3ce515..a222990 100644 --- a/examples/marcxml/README +++ b/examples/marcxml/README @@ -1,8 +1,52 @@ +Example data and configuration for MARC21 XML data using the 'alvis' +XSLT input filter. + +MARC21 XML example data and transforming XSLT stylesheets are borrowed from + +The Library of Congress' Network Development and MARC Standards Office, +which is developing a framework for working with MARC data in a XML +environment. + http://www.loc.gov/standards/marcxml/ -The Library of Congress' Network Development and MARC Standards Office -is developing a framework for working with MARC data in a XML -environment. This framework is intended to be flexible and extensible -to allow users to work with MARC data in ways specific to their -needs. The framework itself includes many components such as schemas, -stylesheets, and software tools. \ No newline at end of file + +To run these examples, try this: + + +../../index/zebraidx init +../../index/zebraidx update collection-*.xml +../../index/zebrasrv + +then start yaz-client and search + +Z> open localhost:9999 +Z> scan @attr 1=4 "" +Z> find @attr 1=4 aida +Z> form xml +Z> elem dc +Z> s 1+1 +Z> elem marc +Z> s 1+1 +Z> elem mads +Z> s 1+1 +Z> elem mods +Z> s 1+1 + +To see the zebra system internal info on this record, issue + +Z> elem zebra +Z> s 1+1 + +To see how this record has been indexed, try +Z> elem index +Z> s 1+1 + +The indexes can also be acessed using the string names: +Scan 'Author-name-personal' as words +Z> scan @attr 1=Author-name-personal de + +Scan 'Author-name-personal' as phrase +Z> scan @attr 1=Author-name-personal @attr 4=1 @attr 6=2 de + + +