Allow solution sequence / modifier MPSPARQL-9
[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:db {
10     attribute path { xsd:string },
11     attribute uri { xsd:string },
12     attribute schema { xsd:string },
13     element mp:prefix { xsd:string }+,
14     element mp:field { xsd:string }*,
15     element mp:criteria { xsd:string }*,
16     element mp:index {
17       attribute type { xsd:string },
18       xsd:string
19     }*,
20     element mp:modifier { xsd:string }*
21   }+
22