New YAZ GFS to illustrate retrieval of MARC.
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 25 Mar 2009 20:43:18 +0000 (21:43 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 25 Mar 2009 20:43:34 +0000 (21:43 +0100)
examples/marcxml/Makefile.am
examples/marcxml/yazgfs.xml [new file with mode: 0644]

index c1c993b..da5ba1d 100644 (file)
@@ -15,7 +15,8 @@ marcxmldata_DATA = zebra.cfg\
    collection-subjmrc.xml\
    dom-config.xml\
    identity.xsl\
-   zebra.xsl
+   zebra.xsl \
+   yazgfs.xml
 
 EXTRA_DIST = $(marcxmldata_DATA)
 
diff --git a/examples/marcxml/yazgfs.xml b/examples/marcxml/yazgfs.xml
new file mode 100644 (file)
index 0000000..15b1b48
--- /dev/null
@@ -0,0 +1,19 @@
+<?xml version="1.0"?>
+<yazgfs>
+  <listen id="tcp9999">tcp:@:9999</listen>
+  <server id="main" listenref="tcp9999">
+    <retrievalinfo>
+      <retrieval syntax="usmarc" name="F">
+        <backend syntax="xml" name="marc">
+          <marc inputformat="xml" outputformat="marc" outputcharset="marc-8"/>
+        </backend>
+      </retrieval>
+      <retrieval syntax="unimarc" name="F">
+        <backend syntax="xml" name="marc">
+          <marc inputformat="xml" outputformat="marc" outputcharset="utf-8"/>
+        </backend>
+      </retrieval>
+       <retrieval syntax="xml"/>
+    </retrievalinfo>
+  </server>
+</yazgfs>