When set, ZOOM Cs sru_version will be set to its value.
</varlistentry>
<varlistentry>
+ <term>SRUVersion</term><listitem>
+ <para>
+ Specifies the SRU version to use. It unset, version 1.2 will be
+ used. Some servers do not support this version, in which case
+ version 1.1 or even 1.0 could be set it.
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term>transform</term><listitem>
<para>
Specifies a XSL stylesheet filename to be used if record
<cclmap_term>s=al</cclmap_term>
<cclmap_ti>1=title s=pw t=l,r</cclmap_ti>
<sru>get</sru>
+ <SRUVersion>1.1</SRUVersion>
<transform>tmarc.xsl</transform>
<zurl>localhost:9998/db01</zurl>
<sortStrategy>embed</sortStrategy>
std::string target;
std::string query_encoding;
std::string sru;
+ std::string sru_version;
std::string request_syntax;
std::string element_set;
std::string record_encoding;
{
s->sru = mp::xml::get_text(ptr);
}
+ else if (!strcmp((const char *) ptr->name, "SRUVersion"))
+ {
+ s->sru_version = mp::xml::get_text(ptr);
+ }
else if (!strcmp((const char *) ptr->name,
"queryEncoding"))
{
{
url = "http://" + sptr->target;
b->set_option("sru", sptr->sru);
+
+ if (sptr->sru_version.length())
+ b->set_option("sru_version", sptr->sru_version);
}
else
{
element mp:recordEncoding { xsd:string }?,
element mp:requestSyntax { xsd:string }?,
element mp:sru { xsd:string }?,
+ element mp:SRUVersion { xsd:string }?,
element mp:transform { xsd:string }?,
element mp:literalTransform { xsd:string }?,
element mp:urlRecipe { xsd:string }?,