3b6e8172f4e9497d295a37b4d261a360e93d3310
[mp-sparql-moved-to-github.git] / doc / filter_sparql.rnc
1 # Metaproxy XML config file schema
2
3 namespace mp = "http://indexdata.com/metaproxy"
4
5 filter_sparql =
6   attribute type { "xquery" },
7   attribute id { xsd:NCName }?,
8   attribute name { xsd:NCName }?,
9   element mp:defaults {
10     attribute uri { xsd:string }
11   }?,
12   element mp:db {
13     attribute path { xsd:string },
14     attribute uri { xsd:string },
15     attribute schema { xsd:string },
16     element mp:prefix { xsd:string }+,
17     element mp:field { xsd:string }*,
18     element mp:criteria { xsd:string }*,
19     element mp:index {
20       attribute type { xsd:string },
21       xsd:string
22     }*,
23     element mp:modifier { xsd:string }*
24   }+