More interesting case using recordId
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 23 Mar 2006 09:13:47 +0000 (09:13 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 23 Mar 2006 09:13:47 +0000 (09:13 +0000)
test/marcxml/record.abs
test/marcxml/zebra.cfg

index 220e255..e535c6a 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: record.abs,v 1.6 2005-01-21 13:06:43 adam Exp $
+# $Id: record.abs,v 1.7 2006-03-23 09:13:47 adam Exp $
 
 name marcxml
 attset bib1.att
@@ -10,6 +10,7 @@ marc usmarc.mar
 
 xpath disable
 
+xelm /record/controlfield[@tag="001"]          Identifier-Standard:w
 xelm /record/controlfield[@tag="008"]          Code-Language:w
 xelm /record/datafield[@tag="100"]/subfield[@code="a"] author:w,author:s
 xelm /record/datafield[@tag="245"]/subfield            title:w
index 3fc1245..ed6fd8d 100644 (file)
@@ -1,5 +1,5 @@
 # Simple Zebra configuration file
-# $Id: zebra.cfg,v 1.3 2004-09-27 10:44:51 adam Exp $
+# $Id: zebra.cfg,v 1.4 2006-03-23 09:13:47 adam Exp $
 #
 # Where the schema files, attribute files, etc are located.
 profilePath: ${srcdir:-.}:${srcdir:-.}/../../tab
@@ -11,9 +11,13 @@ attset: explain.att
 
 recordtype: grs.xml
 
-#storekeys: 1
-#storedata: 1
-#recordId: (bib1,identifier-standard)
+storekeys: 1
+storedata: 1
+recordId: (bib1,identifier-standard)
 isam: b
 
+perm.anonymous: rw
 modulePath: ../../recctrl/.libs
+
+#shadow: shadow:1G
+#register: register:1G