Result construction MPSPARCL-4
[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     element mp:prefix { xsd:string }+,
13     element mp:field { xsd:string }*,
14     element mp:criteria { xsd:string }*,
15     element mp:index {
16       attribute type { xsd:string },
17       xsd:string
18     }*
19   }+
20