projects
/
metaproxy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1268464
)
sort example sorts usmarc as well
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 30 Sep 2015 20:08:52 +0000
(22:08 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 30 Sep 2015 20:08:52 +0000
(22:08 +0200)
etc/config-record-transform.xml
patch
|
blob
|
history
diff --git
a/etc/config-record-transform.xml
b/etc/config-record-transform.xml
index
af2d7a8
..
80c51c9
100644
(file)
--- a/
etc/config-record-transform.xml
+++ b/
etc/config-record-transform.xml
@@
-16,6
+16,20
@@
<filter type="log">
<message>Front</message>
</filter>
<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']"
<filter type="sort">
<sort
xpath="/marc:record/marc:datafield[@tag='245']/marc:subfield[@code='a']"