+ The following is a relatively simple configuration file for
+ such a service. This service lives on <literal>indexdata.dk</literal>,
+ port 9000. The database is <literal>gils</literal>. The
+ backend server is also <literal>indexdata.dk</literal> (port 210) as
+ given by <literal>url</literal>.
+ </para>
+ <para>
+ The server may return USMARC/MARC21 (Z39.50/SRU) and
+ MARCXML (SRU only) as specified by the
+ <link linkend="proxy-config-syntax">syntax</link> elements.
+ </para>
+ <screen><![CDATA[
+<?xml version="1.0"?>
+<!-- $Id: using.xml,v 1.7 2006-06-14 10:12:26 adam Exp $ -->
+<proxy xmlns="http://indexdata.dk/yazproxy/schema/0.9/">
+ <target name="bagel">
+ <url>indexdata.dk</url>
+ <target-timeout>240</target-timeout>
+ <client-timeout>180</client-timeout>
+ <attribute type="1" value="1-11,13-1016"/>
+ <attribute type="1" value="*" error="114"/>
+ <syntax type="usmarc"/>
+ <syntax type="none"/>
+ <syntax type="xml" marcxml="1"
+ identifier="info:srw/schema/1/marcxml-v1.1" >
+ <name>marcxml</name>
+ </syntax>
+ <syntax type="*" error="238"/>
+ <preinit>0</preinit>
+ <explain xmlns="http://explain.z3950.org/dtd/2.0/">
+ <serverInfo>
+ <host>indexdata.dk</host>
+ <port>9000</port>
+ <database>gils</database>
+ </serverInfo>
+ </explain>
+ <cql2rpn>pqf.properties</cql2rpn>
+ </target>
+</proxy>
+]]>
+ </screen>
+ <para>
+ The conversion from CQL to RPN is specified by a file whose name,
+ relative to the working directory, is given in the
+ <link linkend="proxy-config-cql2rpn">cql2rpn</link> element.
+ A complete Bath/DC conversion file,
+ <filename>pqf.properties</filename> is provided as part of the
+ yazproxy distribution in the <filename>etc</filename>
+ subdirectory.
+ </para>
+ <para>
+ Explain information is embedded in the configuration file.
+ Note that in this example,only a few mandatory
+ explain elements are specified. A well-behaving server should describe
+ index sets, indexes, record schemas as well.