- <records>
- <record>
- <layer>
- <id>z-local</id>
- <zurl>localhost:9999/db01</zurl>
- <queryEncoding>iso-8859-1</queryEncoding>
- <elementSet>F</elementSet>
- <requestSyntax>MARC21</requestSyntax>
- <recordEncoding>MARC-8</recordEncoding>
- <transform>tmarc.xsl</transform>
- <authentication>a/b</authentication>
- <cclmap_term>u=1016 2=3 3=3 s=al s=pw t=l,r 6=1</cclmap_term>
- <cclmap_au>u=1003 2=3 s=al s=pw t=l,r 6=1</cclmap_au>
- <cclmap_ti>u=4 2=3 3=3 s=al s=pw t=l,r 6=1</cclmap_ti>
- <cclmap_su>u=21 2=3 3=3 s=al s=pw t=l,r 6=1</cclmap_su>
- </layer>
- </record>
- <record>
- <layer>
- <id>sru-local</id>
- <zurl>localhost:9999/db02</zurl>
- <sru>get</sru>
- <queryEncoding>iso-8859-1</queryEncoding>
- </layer>
- </record>
- <record>
- <layer>
- <id>cf-local</id>
- <zurl>localhost:9999/db03</zurl>
- <authentication>a/b</authentication>
- <cfAuth>mycfuser/mycfpassword</cfAuth>
- <cfSubDb>mycfsub</cfSubDb>
- <cclmap_term>u=1016 2=3 3=3 s=al s=pw t=l,r 6=1</cclmap_term>
- <cclmap_au>u=1003 2=3 s=al s=pw t=l,r 6=1</cclmap_au>
- <cclmap_ti>u=4 2=3 3=3 s=al s=pw t=l,r 6=1</cclmap_ti>
- <cclmap_su>u=21 2=3 3=3 s=al s=pw t=l,r 6=1</cclmap_su>
- </layer>
- </record>
- <record>
- <layer>
- <id>z-unknown</id>
- <zurl>localhost:9999/unknown</zurl>
- <queryEncoding>iso-8859-1</queryEncoding>
- </layer>
- </record>
- </records>
+ <torus
+ url="http://newmk2.indexdata.com/torus2/searchable.ebsco/records/?query=udb%3D%db"
+ xsldir="."
+ element_transform="pz2"
+ element_raw="raw"
+ >
+ <records>
+ <record>
+ <piggyback>1</piggyback>
+ <queryEncoding>UTF-8</queryEncoding>
+ <udb>z-local</udb>
+ <cclmap_term>1=1016 s=al</cclmap_term>
+ <cclmap_ti>1=4 s=pw t=l,r</cclmap_ti>
+ <requestSyntax>usmarc</requestSyntax>
+ <transform>tmarc.xsl</transform>
+ <zurl>localhost:9999/db01</zurl>
+ </record>
+ <record>
+ <piggyback>1</piggyback>
+ <queryEncoding>UTF-8</queryEncoding>
+ <udb>sru-local</udb>
+ <cclmap_term>s=al</cclmap_term>
+ <cclmap_ti>1=title s=pw t=l,r</cclmap_ti>
+ <sru>get</sru>
+ <transform>tmarc.xsl</transform>
+ <zurl>localhost:9999/db01</zurl>
+ </record>
+ </records>
+ </torus>
+ <fieldmap cql="cql.anywhere"/>
+ <fieldmap cql="cql.serverChoice"/>
+ <fieldmap cql="dc.creator" ccl="au"/>
+ <fieldmap cql="dc.title" ccl="ti"/>
+ <fieldmap cql="dc.subject" ccl="su"/>
+ <fieldmap cql="bash.isbn" ccl="isbn"/>
+ <fieldmap cql="bash.issn" ccl="issn"/>
+ <fieldmap cql="dc.date" ccl="date"/>
+ <!--
+ I got some of the following CCL qualifier names from
+ http://catalog.pburglib.org/polaris/Help/PWbasicsearch6.html
+ These are marked with the comment POLARIS.
+ The others, I just made up.
+ (Mike, Wed Jun 15 22:50:18 BST 2011)
+ -->
+ <fieldmap cql="rec.identifier" ccl="ocn"/><!-- POLARIS -->
+ <fieldmap cql="net.path" ccl="db"/>
+ <fieldmap cql="dc.language" ccl="la"/><!-- POLARIS -->
+ <fieldmap cql="dc.format" ccl="tom"/><!-- POLARIS -->
+ <fieldmap cql="id.fullText" ccl="fullText"/>
+ <fieldmap cql="id.peerReviewed" ccl="peerReviewed"/>
+ <fieldmap cql="dc.description" ccl="desc"/>
+ <fieldmap cql="dc.source" ccl="src"/>
+ <fieldmap cql="dc.publisher" ccl="pub"/><!-- POLARIS -->
+ <fieldmap cql="id.seriesTitle" ccl="series-ti"/>
+
+ <cclmap>
+ <qual name="ocn">
+ <attr type="1" value="12"/>
+ </qual>
+ </cclmap>