sort example sorts usmarc as well
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 30 Sep 2015 20:08:52 +0000 (22:08 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 30 Sep 2015 20:08:52 +0000 (22:08 +0200)
etc/config-record-transform.xml

index af2d7a8..80c51c9 100644 (file)
       <filter type="log">
         <message>Front</message>
       </filter>
+      <filter type="record_transform">
+       <retrievalinfo  xmlns="http://indexdata.com/yaz" version="1.0">
+         <retrieval syntax="usmarc">
+           <backend syntax="xml" name="marcxml">
+             <marc inputformat="xml" outputformat="marc"
+                   inputcharset="utf-8" outputcharset="marc-8"/>
+           </backend>
+         </retrieval>
+         <retrieval syntax="xml"/>
+         <retrieval syntax="opac"/>
+         <retrieval syntax="grs-1"/>
+         <retrieval syntax="unimarc"/>
+       </retrievalinfo>
+      </filter>
       <filter type="sort">
         <sort
            xpath="/marc:record/marc:datafield[@tag='245']/marc:subfield[@code='a']"