36fc9200dd0e7d79f67107e87c2dc9f7d7941de8
[yaz-moved-to-github.git] / etc / yazgfs.xml
1 <!-- $Id: yazgfs.xml,v 1.7 2007-02-08 10:52:06 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      <maximumrecordsize>2000000</maximumrecordsize>
13      <retrievalinfo>
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          <backend syntax="usmarc" name="F">
19            <marc inputformat="marc" outputformat="marcxml"
20                  inputcharset="marc-8"/>
21          </backend>
22        </retrieval>
23        <retrieval syntax="xml" name="dc">
24          <backend syntax="usmarc" name="F">
25            <marc inputformat="marc" outputformat="marcxml"
26                  inputcharset="marc-8"/>
27            <xslt stylesheet="MARC21slim2DC.xsl"/>
28          </backend>
29        </retrieval>
30      </retrievalinfo>
31      <explain xmlns="http://explain.z3950.org/dtd/2.0/">
32         <serverInfo>
33            <host>myserver.org</host>
34            <port>9000</port>
35            <database>Default</database>
36         </serverInfo>
37     </explain>
38   </server>
39 </yazgfs>
40