If attribute <literal>marcxml</literal> is given, the proxy will
perform MARC21 to MARCXML conversion. In this case the
<literal>type</literal> should be XML. The proxy will use
- preferred record syntax USMARC/MARC21 against the backend target.
+ preferred record syntax USMARC/MARC21 or <literal>backendtype</literal>
+ (if given) against the backend target.
+ </para>
+ <para>
+ If attribute <literal>backendtype</literal> is given, that holds the
+ record syntax to be transmitted to backend.
</para>
<para>
If attribute <literal>stylesheet</literal> is given, the proxy
<section id="proxy-config-cql2rpn">
<title>cql2rpn</title>
<para>
- The CDATA of <literal>cql2rpn</literal> refers to CQL to a RPN conversion
- file - for the server in the target section. This element
- is required for SRW/SRU searches to operate against a Z39.50
- server that doesn't support CQL. Most Z39.50 servers only support
+ The content of the <literal>cql2rpn</literal> element specifies
+ the path from the working directory to a CQL-to-RPN conversion
+ file for the server in the target section. This element
+ is required for SRW/SRU searches to operate against Z39.50
+ servers that don't support CQL. Most Z39.50 servers only support
Type-1/RPN so this is usually required.
+ </para>
+ <para>
See YAZ documentation for more information about the
<ulink url="http://indexdata.dk/yaz/doc/tools.tkl#tools.cql.pqf">CQL
to PQF</ulink> conversion. See also the
<filename>pqf.properties</filename> in the <filename>etc</filename>
(or <replaceable>prefix/share/yazproxy</replaceable>)
- directory of the YAZ proxy.
+ directory of the YAZ proxy distribution.
</para>
</section>
directory <filename>etc</filename> of the distribution.
</para>
<screen><![CDATA[
- <?xml version="1.0"?>
+<?xml version="1.0"?>
<!-- XML Schema for YAZ proxy config file.
- $Id: reference.xml,v 1.6 2004-07-01 18:07:30 adam Exp $
+ $Id: reference.xml,v 1.10 2004-08-10 09:02:16 adam Exp $
-->
<xs:schema
xmlns:xs="http://www.w3.org/2001/XMLSchema"
<xs:element ref="attribute" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="syntax" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="preinit" minOccurs="0"/>
- <xs:element name="exp:explain" minOccurs="0"/>
+ <xs:element ref="exp:explain" minOccurs="0"/>
<xs:element ref="cql2rpn" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="default" type="xs:string" use="optional"/>
<xs:element name="syntax">
<xs:complexType>
<xs:sequence>
- <xs:element name="title" type="xs:string" minOccurs="0"/>
- <xs:element name="name" type="xs:string" minOccurs="0"
- maxOccurs="unbounded"/>
+ <xs:element ref="title" minOccurs="0"/>
+ <xs:element ref="name" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
- <xs:attribute name="error" type="xs:string" minOccurs="0"/>
- <xs:attribute name="type" type="xs:string" minOccurs="0"/>
- <xs:attribute name="marcxml" type="xs:string" minOccurs="0"/>
- <xs:attribute name="identifier" type="xs:string" minOccurs="0"/>
- <xs:attribute name="stylesheet" type="xs:string" minOccurs="0"/>
+ <xs:attribute name="error" type="xs:string" />
+ <xs:attribute name="type" type="xs:string" />
+ <xs:attribute name="marcxml" type="xs:string" />
+ <xs:attribute name="identifier" type="xs:string" />
+ <xs:attribute name="stylesheet" type="xs:string" />
</xs:complexType>
</xs:element>
+ <xs:element name="title" type="xs:string"/>
+ <xs:element name="name" type="xs:string"/>
+
<xs:element name="max-clients" type="xs:integer"/>
<xs:element name="log" type="xs:string"/>
</xs:schema>
-
]]>
</screen>
</section>