split config file into retrievalinfo part and common metaproxy config part
[metaproxy-moved-to-github.git] / etc / config-record-transform.xml
1 <?xml version="1.0"?>
2 <!-- $Id: config-record-transform.xml,v 1.3 2006-11-29 21:43:37 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          <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
22                       href="retrieval-info.xml"/>
23         <!--
24         <retrievalinfo>
25           <retrieval syntax="grs-1"/>
26           <retrieval syntax="usmarc" name="F"/>
27           <retrieval syntax="usmarc" name="B"/>
28           <retrieval syntax="xml" name="marcxml"
29                      identifier="info:srw/schema/1/marcxml-v1.1"
30                      backendsyntax="usmarc" backendname="F">
31             <convert>
32               <marc inputformat="marc" outputformat="marcxml"
33                     inputcharset="marc-8"/>
34             </convert>
35           </retrieval>
36           <retrieval syntax="xml" name="danmarc"
37                      backendsyntax="usmarc" backendname="F">
38             <convert>
39               <marc inputformat="marc" outputformat="marcxchange"
40                     inputcharset="marc-8"/>
41             </convert>
42           </retrieval>
43           <retrieval syntax="xml" name="dc"
44                      identifier="info:srw/schema/1/dc-v1.1"
45                      backendsyntax="usmarc" backendname="F">
46             <convert>
47               <marc inputformat="marc" outputformat="marcxml"
48                     inputcharset="marc-8"/>
49               <xslt stylesheet="xml/xslt/MARC21slim2DC.xsl"/>
50             </convert>
51           </retrieval>
52         </retrievalinfo> -->
53       </filter>
54       <filter type="log">
55         <message>Back</message>
56       </filter>
57       <filter refid="backend"/>
58       <filter type="bounce"/>
59     </route>
60   </routes>
61 </metaproxy>
62