Index using range
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 23 Jan 2006 10:34:45 +0000 (10:34 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 23 Jan 2006 10:34:45 +0000 (10:34 +0000)
test/marcxml/record.abs

index 822de5f..dba412c 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: record.abs,v 1.3.2.1 2004-08-24 14:06:32 adam Exp $
+# $Id: record.abs,v 1.3.2.2 2006-01-23 10:34:45 adam Exp $
 
 name marcxml
 attset bib1.att
@@ -10,6 +10,7 @@ marc usmarc.mar
 
 xpath disable
 
+xelm /record/controlfield[@tag="001"]          Material-type:w:range(data,3,1)
 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