Implemented RPN query rewrite using XSLT. This filter uses yaz_xml2query,
[metaproxy-moved-to-github.git] / etc / config5.xml
1 <?xml version="1.0"?>
2 <!-- $Id: config5.xml,v 1.2 2006-03-15 14:59:10 adam Exp $ -->
3 <!-- Uses dummy backend + query rewrite filter.. -->
4 <yp2 xmlns="http://indexdata.dk/yp2/config/1">
5   <start route="start"/>
6   <filters>
7     <filter id="frontend" type="frontend_net">
8       <port>@:9000</port>
9     </filter>
10   </filters>
11   <routes>  
12     <route id="start">
13       <filter refid="frontend"/>
14       <filter type="log">
15         <message>F</message>
16       </filter>
17       <filter type="query-rewrite">
18        <xslt>pqf2pqf.xsl</xslt>
19       </filter>
20       <filter type="log">
21         <message>B</message>
22       </filter>
23       <filter type="backend_test"/>
24     </route>
25   </routes>
26 </yp2>
27