Split config schemas to separate files
[metaproxy-moved-to-github.git] / xml / schema / filter_cgi.rnc
1 # Metaproxy XML config file schemas
2
3 #   Copyright (C) 2005-2011 Index Data.
4
5 #   See the LICENSE file for details
6
7
8 # The RelaxNG Compact Syntax file 'metaproxy.rnc' is the master copy.
9
10 # The RelaxNG XML Syntax and XML Schema are generated using 'trang':
11 # trang metaproxy.rnc metaproxy.rng 
12 # trang metaproxy.rnc metaproxy.xsd 
13
14 # Config file validation is done using 'xmllint':
15 # xmllint -/-relaxng metaproxy.rng ../../../etc/config1.xml 
16 # xmllint -/-schema metaproxy.xsd config-bytarget.xml
17
18 # For information on RelaxNG see http://relaxng.org 
19 # see also http://books.xmlschemata.org/relaxng/
20
21 namespace mp = "http://indexdata.com/metaproxy"
22
23 filter_cgi =
24   attribute type { "cgi" },
25   element mp:map {
26     attribute path { xsd:string },
27     attribute exec { xsd:string }
28   }*
29
30