zoom: allow local torus record.
[metaproxy-moved-to-github.git] / xml / schema / filter_multi.rng
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Metaproxy XML config file schema -->
3 <grammar xmlns:mp="http://indexdata.com/metaproxy" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
4   <define name="filter_multi">
5     <attribute name="type">
6       <value>multi</value>
7     </attribute>
8     <optional>
9       <attribute name="id">
10         <data type="NCName"/>
11       </attribute>
12     </optional>
13     <optional>
14       <attribute name="name">
15         <data type="NCName"/>
16       </attribute>
17     </optional>
18     <zeroOrMore>
19       <element name="mp:target">
20         <attribute name="route">
21           <data type="string"/>
22         </attribute>
23         <data type="string"/>
24       </element>
25     </zeroOrMore>
26     <optional>
27       <element name="mp:hideunavailable">
28         <empty/>
29       </element>
30     </optional>
31     <optional>
32       <element name="mp:mergetype">
33         <data type="string"/>
34       </element>
35     </optional>
36   </define>
37 </grammar>