changed config file root element from <yp2 ... > to
[metaproxy-moved-to-github.git] / etc / config-record-transform.xml
1 <?xml version="1.0"?>
2 <!-- $Id: config-record-transform.xml,v 1.2 2006-11-29 13:00:53 marc Exp $ -->
3 <metaproxy xmlns="http://indexdata.com/metaproxy" version="1.0">
4   <start route="start"/>
5   <filters>
6     <filter id="frontend" type="frontend_net">
7       <threads>10</threads>
8       <port>@:9000</port>
9     </filter>
10     <filter id="backend" type="z3950_client">
11      <timeout>30</timeout>
12     </filter>
13   </filters>
14   <routes>  
15     <route id="start">
16       <filter refid="frontend"/>
17       <filter type="log">
18         <message>Front</message>
19       </filter>
20       <filter type="record_transform">
21         <retrievalinfo>
22           <retrieval syntax="grs-1"/>
23           <retrieval syntax="usmarc" name="F"/>
24           <retrieval syntax="usmarc" name="B"/>
25           <retrieval syntax="xml" name="marcxml"
26                      identifier="info:srw/schema/1/marcxml-v1.1"
27                      backendsyntax="usmarc" backendname="F">
28             <convert>
29               <marc inputformat="marc" outputformat="marcxml"
30                     inputcharset="marc-8"/>
31             </convert>
32           </retrieval>
33           <retrieval syntax="xml" name="danmarc"
34                      backendsyntax="usmarc" backendname="F">
35             <convert>
36               <marc inputformat="marc" outputformat="marcxchange"
37                     inputcharset="marc-8"/>
38             </convert>
39           </retrieval>
40           <retrieval syntax="xml" name="dc"
41                      identifier="info:srw/schema/1/dc-v1.1"
42                      backendsyntax="usmarc" backendname="F">
43             <convert>
44               <marc inputformat="marc" outputformat="marcxml"
45                     inputcharset="marc-8"/>
46               <xslt stylesheet="xml/xslt/MARC21slim2DC.xsl"/>
47             </convert>
48           </retrieval>
49         </retrievalinfo>
50       </filter>
51       <filter type="log">
52         <message>Back</message>
53       </filter>
54       <filter refid="backend"/>
55       <filter type="bounce"/>
56     </route>
57   </routes>
58 </metaproxy>
59