Doc: module ref entries include RelagNG schema
[metaproxy-moved-to-github.git] / xml / schema / filter_http_file.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_http_file">
7     <xs:sequence>
8       <xs:element ref="mp:mimetypes"/>
9       <xs:element ref="mp:area"/>
10     </xs:sequence>
11   </xs:group>
12   <xs:element name="mimetypes" type="xs:string"/>
13   <xs:element name="area">
14     <xs:complexType>
15       <xs:sequence>
16         <xs:element ref="mp:documentroot"/>
17         <xs:element ref="mp:prefix"/>
18       </xs:sequence>
19     </xs:complexType>
20   </xs:element>
21   <xs:element name="documentroot" type="xs:string"/>
22   <xs:element name="prefix" type="xs:string"/>
23   <xs:attributeGroup name="filter_http_file">
24     <xs:attribute name="type" use="required">
25       <xs:simpleType>
26         <xs:restriction base="xs:token">
27           <xs:enumeration value="http_file"/>
28         </xs:restriction>
29       </xs:simpleType>
30     </xs:attribute>
31     <xs:attribute name="id" type="xs:NCName"/>
32     <xs:attribute name="name" type="xs:NCName"/>
33   </xs:attributeGroup>
34 </xs:schema>