Doc: module ref entries include RelagNG schema
[metaproxy-moved-to-github.git] / xml / schema / filter_cgi.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:group name="filter_cgi">
7     <xs:sequence>
8       <xs:element minOccurs="0" maxOccurs="unbounded" ref="mp:map"/>
9     </xs:sequence>
10   </xs:group>
11   <xs:element name="map">
12     <xs:complexType>
13       <xs:attribute name="path" use="required" type="xs:string"/>
14       <xs:attribute name="exec" use="required" type="xs:string"/>
15     </xs:complexType>
16   </xs:element>
17   <xs:attributeGroup name="filter_cgi">
18     <xs:attribute name="type" use="required">
19       <xs:simpleType>
20         <xs:restriction base="xs:token">
21           <xs:enumeration value="cgi"/>
22         </xs:restriction>
23       </xs:simpleType>
24     </xs:attribute>
25   </xs:attributeGroup>
26 </xs:schema>