1 # Metaproxy XML config file schema
3 namespace mp = "http://indexdata.com/metaproxy"
5 rewrite = element mp:rewrite {
6 attribute from { xsd:string },
7 attribute to { xsd:string }
10 rule = element mp:rule {
11 attribute name { xsd:string },
15 within = element mp:within {
16 attribute tag { xsd:string }?,
17 attribute attr { xsd:string }?,
18 attribute type { xsd:string }?,
19 attribute header { xsd:string }?,
20 attribute reqline { xsd:string }?,
21 attribute rule { xsd:string }
24 content = element mp:content {
25 attribute type { xsd:string },
26 attribute mime { xsd:string }?,
30 section = (rule | content)*
33 attribute type { "http_rewrite" },
34 attribute id { xsd:NCName }?,
35 attribute name { xsd:NCName }?,
37 attribute verbose { xsd:string },
41 attribute verbose { xsd:string },