<para>
Configurable values:
<variablelist>
- <varlistentry><term><script name="name"></term>
+ <varlistentry><term><elementset name="name1" backend="name2"/></term>
+ <listitem>
+ <para>
+ Specifies the elementset (name1) that triggers the transform.
+ Note that the record syntax must be XML as well.
+ The 2nd element set, name2, specifies the element set that
+ is sent to the next filter in chain (backend).
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry><term><script name="name"/></term>
<listitem>
<para>
The full path of the XQuery script to be invoked.
</para>
</listitem>
</varlistentry>
- <varlistentry><term><record name="var"></term>
+ <varlistentry><term><record name="var"/></term>
<listitem>
<para>
The name of the XQUery variable where the input XML record
<refsect1><title>EXAMPLES</title>
<para>
- Configuration:
+ Configuration for converting MARCXML to BIBFRAME.
<screen><![CDATA[
- <filter type="session_shared">
- <resultset ttl="10" max="3" restart="true"/>
- <session ttl="30" max="100"/>
+ <filter type="xquery">
+ <elementset name="bibframe" backend="marcxml"/>
+ <script name="/usr/share/marc2bibframe/xbin/zorba3-0.xqy"/>
+ <record name="marcxmluri"/>
+ <variable name="serialization" value="rdxml"/>
+ <variable name="baseuri" value="http://base/"/>
</filter>
]]>
</screen>