Doc: module ref entries include RelagNG schema
[metaproxy-moved-to-github.git] / xml / schema / filter_query_rewrite.xsd
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Metaproxy XML config file schema -->
3 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://indexdata.com/metaproxy" xmlns:mp="http://indexdata.com/metaproxy" xmlns:y="http://indexdata.com/yaz">
4   <xs:import schemaLocation="local.xsd"/>
5   <xs:import namespace="http://indexdata.com/yaz" schemaLocation="retrievalinfo.xsd"/>
6   <xs:element name="xslt">
7     <xs:complexType>
8       <xs:attribute name="stylesheet" use="required" type="xs:string"/>
9     </xs:complexType>
10   </xs:element>
11   <xs:attributeGroup name="filter_query_rewrite">
12     <xs:attribute name="type" use="required">
13       <xs:simpleType>
14         <xs:restriction base="xs:token">
15           <xs:enumeration value="query_rewrite"/>
16         </xs:restriction>
17       </xs:simpleType>
18     </xs:attribute>
19     <xs:attribute name="id" type="xs:NCName"/>
20     <xs:attribute name="name" type="xs:NCName"/>
21   </xs:attributeGroup>
22 </xs:schema>