indexing example MARCXML working now
authorMarc Cromme <marc@indexdata.dk>
Fri, 9 Jun 2006 12:53:18 +0000 (12:53 +0000)
committerMarc Cromme <marc@indexdata.dk>
Fri, 9 Jun 2006 12:53:18 +0000 (12:53 +0000)
examples/marcxml/filter_alvis_conf.xml
examples/marcxml/identity.xsl [new file with mode: 0644]
examples/marcxml/zebra.cfg [new file with mode: 0644]

index 8363363..0c6c661 100644 (file)
@@ -3,8 +3,9 @@
     <schema name="dc" default="1" stylesheet="MARC21slim2SRWDC.xsl" />\r
     <schema name="index" identifier="http://indexdata.dk/zebra/xslt/1"\r
             stylesheet="MARC21slim2INDEX.xsl" />\r
-    <schema name="mads" stylesheet="MARC21slim2MADS.xs" />\r
-    <schema name="mods" stylesheet="MARC21slim2MODS3-1.xs" />\r
+    <schema name="mads" stylesheet="MARC21slim2MADS.xsl" />\r
+    <schema name="marc" stylesheet="identity.xsl" />\r
+    <schema name="mods" stylesheet="MARC21slim2MODS3-1.xsl" />\r
     <split level="1"/> \r
   </schemaInfo>\r
 \r
diff --git a/examples/marcxml/identity.xsl b/examples/marcxml/identity.xsl
new file mode 100644 (file)
index 0000000..0fa796e
--- /dev/null
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+  version="1.0">
+
+  <xsl:output indent="yes" method="xml" version="1.0" encoding="UTF-8"/>
+
+  <!-- match on alvis xml record -->
+  <xsl:template match="/">
+      <xsl:copy-of select="/"/>
+  </xsl:template>
+
+
+</xsl:stylesheet>
diff --git a/examples/marcxml/zebra.cfg b/examples/marcxml/zebra.cfg
new file mode 100644 (file)
index 0000000..3aa9501
--- /dev/null
@@ -0,0 +1,16 @@
+profilePath: ./:./../../tab
+modulePath: ../../recctrl/.libs
+
+recordtype: alvis.filter_alvis_conf.xml
+
+attset: bib1.att
+attset: explain.att
+
+#register: db2/register :100G
+#shadow: db2/shadow:100G
+#lockdir: db2/lock
+#tmpdir: db2/tmp
+#keytmpdir: db2/tmp
+
+
+