<title>syntax</title>
<para>
The <literal>syntax</literal> element specifies accept or reject
- or a particular record syntax request from the client.
+ or a particular record syntax request from the client. It also
+ allows record conversion of XML records via XSLT.
</para>
<para>
The <literal>syntax</literal> has one required attribute:
record to OPACXML.
</para>
<para>
+ When <literal>marcxml</literal> is used, yazproxy assumes
+ that records retrieved from the backend are encoded in the
+ <ulink url="&url.marc8;">MARC-8</ulink> character set.
+ This is correct for most MARC21 based systems, but not for
+ other MARC variants or UTF-8 based MARC21 systems.
+ The <literal>backendcharset</literal> attribute specifies
+ the character set of the MARC records to be converted.
+ </para>
+ <para>
If attribute <literal>backendtype</literal> is given, that holds the
record syntax to be transmitted to backend.
</para>
<para>
+ If attribute <literal>backendelementset</literal> is given, that holds
+ elementset to be transmitted to backend. If
+ <literal>backendelementset</literal> is omitted, the element
+ set from client is used, except if <literal>marcxml</literal> is used.
+ If no <literal>backendelementset</literal> is given and
+ <literal>marcxml</literal> is used, the elementset is omitted in
+ request to backend.
+ </para>
+ <para>
If attribute <literal>stylesheet</literal> is given, the proxy
will convert XML record from server via XSLT. It is important
that the content from server is XML. If used in conjunction with
<xs:attribute name="backendcharset" type="xs:string" />
<xs:attribute name="usemarconstage1" type="xs:string" />
<xs:attribute name="usemarconstage2" type="xs:string" />
+ <xs:attribute name="backendelementset" type="xs:string" />
</xs:complexType>
</xs:element>