Fixes for retrieval handling in SRU mode.. The "virtual" record syntax
[yaz-moved-to-github.git] / etc / yazgfs.xml
index 72f1272..ad435c7 100644 (file)
@@ -1,4 +1,4 @@
-<!-- $Id: yazgfs.xml,v 1.2 2006-03-15 13:32:05 adam Exp $ -->
+<!-- $Id: yazgfs.xml,v 1.5 2006-05-09 13:39:46 adam Exp $ -->
 <!-- sample YAZ GFS config file .. see 
   http://indexdata.dk/yaz/doc/server.vhosts.tkl -->
 <yazgfs>
@@ -9,10 +9,39 @@
      <cql2rpn>pqf.properties</cql2rpn>
      <docpath>xsl</docpath>
      <stylesheet>xsl/default.xsl</stylesheet>
+     <retrievalinfo>
+       <retrieval syntax="grs-1"/>
+       <retrieval syntax="usmarc" name="F"/>
+       <retrieval syntax="usmarc" name="B"/>
+       <retrieval syntax="xml" name="marcxml"
+                 identifier="info:srw/schema/1/marcxml-v1.1"
+                 backendsyntax="usmarc" backendname="F">
+        <convert>
+          <marc inputformat="marc" outputformat="marcxml"
+                inputcharset="marc-8"/>
+        </convert>
+       </retrieval>
+       <retrieval syntax="xml" name="danmarc"
+                 backendsyntax="usmarc" backendname="F">
+        <convert>
+          <marc inputformat="marc" outputformat="marcxchange"
+                inputcharset="marc-8"/>
+        </convert>
+       </retrieval>
+       <retrieval syntax="xml" name="dc"
+                 identifier="info:srw/schema/1/dc-v1.1"
+                 backendsyntax="usmarc" backendname="F">
+        <convert>
+          <marc inputformat="marc" outputformat="marcxml"
+                inputcharset="marc-8"/>
+          <xslt stylesheet="../etc/MARC21slim2DC.xsl"/>
+        </convert>
+       </retrieval>
+     </retrievalinfo>
      <explain xmlns="http://explain.z3950.org/dtd/2.0/">
         <serverInfo>
            <host>myserver.org</host>
-           <port>9900</port>
+           <port>9000</port>
            <database>Default</database>
         </serverInfo>
     </explain>