zoom: configurable element sets for record transforms.
[metaproxy-moved-to-github.git] / xml / schema / filter_zoom.rnc
1 # Metaproxy XML config file schema
2
3 namespace mp = "http://indexdata.com/metaproxy"
4
5 filter_zoom =
6   attribute type { "zoom" },
7   attribute id { xsd:NCName }?,
8   attribute name { xsd:NCName }?,
9   element mp:torus {
10     attribute url { xsd:string },
11     attribute xsldir { xsd:string }?,
12     attribute element_transform { xsd:string }?,
13     attribute element_raw { xsd:string }?,
14     element mp:records {
15       element mp:record {
16         element mp:authentication { xsd:string }?,
17         element mp:piggyback { xsd:string }?,
18         element mp:queryEncoding { xsd:string }?,
19         element mp:udb { xsd:string },
20         element mp:cclmap_au { xsd:string }?,
21         element mp:cclmap_date { xsd:string }?,
22         element mp:cclmap_isbn { xsd:string }?,
23         element mp:cclmap_su { xsd:string }?,
24         element mp:cclmap_term { xsd:string }?,
25         element mp:cclmap_ti { xsd:string }?,
26         element mp:elementSet { xsd:string }?,
27         element mp:recordEncoding { xsd:string }?,
28         element mp:requestSyntax { xsd:string }?,
29         element mp:sru { xsd:string }?,
30         element mp:transform { xsd:string }?,
31         element mp:zurl { xsd:string }
32       }*
33     }?
34   }?,
35   element mp:fieldmap {
36     attribute cql { xsd:string },
37     attribute ccl { xsd:string }?
38   }*,
39   element mp:cclmap {
40     element mp:qual {
41       attribute name { xsd:string },
42       element mp:attr {
43         attribute type { xsd:string },
44         attribute value { xsd:string }
45       }+
46     }*
47   }?
48
49