Fixes for retrieval handling in SRU mode.. The "virtual" record syntax
[yaz-moved-to-github.git] / etc / yazgfs.xml
1 <!-- $Id: yazgfs.xml,v 1.5 2006-05-09 13:39:46 adam Exp $ -->
2 <!-- sample YAZ GFS config file .. see 
3   http://indexdata.dk/yaz/doc/server.vhosts.tkl -->
4 <yazgfs>
5   <listen id="public1">tcp:@:9000</listen>
6   <server id="server1" listenref="public1">
7      <directory>.</directory> <!-- directory where backend is running -->
8      <config>zebra.cfg</config>
9      <cql2rpn>pqf.properties</cql2rpn>
10      <docpath>xsl</docpath>
11      <stylesheet>xsl/default.xsl</stylesheet>
12      <retrievalinfo>
13        <retrieval syntax="grs-1"/>
14        <retrieval syntax="usmarc" name="F"/>
15        <retrieval syntax="usmarc" name="B"/>
16        <retrieval syntax="xml" name="marcxml"
17                   identifier="info:srw/schema/1/marcxml-v1.1"
18                   backendsyntax="usmarc" backendname="F">
19          <convert>
20            <marc inputformat="marc" outputformat="marcxml"
21                  inputcharset="marc-8"/>
22          </convert>
23        </retrieval>
24        <retrieval syntax="xml" name="danmarc"
25                   backendsyntax="usmarc" backendname="F">
26          <convert>
27            <marc inputformat="marc" outputformat="marcxchange"
28                  inputcharset="marc-8"/>
29          </convert>
30        </retrieval>
31        <retrieval syntax="xml" name="dc"
32                   identifier="info:srw/schema/1/dc-v1.1"
33                   backendsyntax="usmarc" backendname="F">
34          <convert>
35            <marc inputformat="marc" outputformat="marcxml"
36                  inputcharset="marc-8"/>
37            <xslt stylesheet="../etc/MARC21slim2DC.xsl"/>
38          </convert>
39        </retrieval>
40      </retrievalinfo>
41      <explain xmlns="http://explain.z3950.org/dtd/2.0/">
42         <serverInfo>
43            <host>myserver.org</host>
44            <port>9000</port>
45            <database>Default</database>
46         </serverInfo>
47     </explain>
48   </server>
49 </yazgfs>
50